From 02c0e15781fa0a499c736e710755e799bfaec77d Mon Sep 17 00:00:00 2001
From: Egor Kislitsyn <egor@kislitsyn.com>
Date: Thu, 13 Dec 2018 00:03:50 +0700
Subject: add checkbox to disable web push

---
 src/components/settings/settings.vue | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'src/components/settings/settings.vue')

diff --git a/src/components/settings/settings.vue b/src/components/settings/settings.vue
index de506e4d..871735fe 100644
--- a/src/components/settings/settings.vue
+++ b/src/components/settings/settings.vue
@@ -128,6 +128,18 @@
             </li>
           </ul>
         </div>
+
+       <div class="setting-item">
+          <h2>{{$t('settings.notifications')}}</h2>
+          <ul class="setting-list">
+            <li>
+              <input type="checkbox" id="webPushNotifications" v-model="webPushNotificationsLocal">
+              <label for="webPushNotifications">
+                {{$t('settings.enable_web_push_notifications')}}
+              </label>
+            </li>
+          </ul>
+        </div>
       </div>
 
       <div :label="$t('settings.theme')" >
-- 
cgit v1.2.3-70-g09d2

