autoWatch機能を削除

This commit is contained in:
syuilo 2020-11-08 16:49:23 +09:00
parent a6985d7dc7
commit 9d1fa3f202
10 changed files with 17 additions and 72 deletions

View file

@ -3,15 +3,6 @@
<div class="_section">
<MkButton full primary @click="configure"><Fa :icon="faCog"/> {{ $t('notificationSetting') }}</MkButton>
</div>
<div class="_section">
<div class="_card">
<div class="_content">
<MkSwitch v-model:value="$store.state.i.autoWatch" @update:value="onChangeAutoWatch">
{{ $t('autoNoteWatch') }}<template #desc>{{ $t('autoNoteWatchDescription') }}</template>
</MkSwitch>
</div>
</div>
</div>
<div class="_section">
<MkButton full @click="readAllNotifications">{{ $t('markAsReadAllNotifications') }}</MkButton>
<MkButton full @click="readAllUnreadNotes">{{ $t('markAsReadAllUnreadNotes') }}</MkButton>
@ -52,12 +43,6 @@ export default defineComponent({
},
methods: {
onChangeAutoWatch(v) {
os.api('i/update', {
autoWatch: v
});
},
readAllUnreadNotes() {
os.api('i/read-all-unread-notes');
},