This commit is contained in:
syuilo
2021-04-11 12:31:24 +09:00
parent 1ec3338d2e
commit d4c4e30fe4
5 changed files with 28 additions and 15 deletions

View File

@@ -9,13 +9,13 @@
@closed="$emit('closed')"
>
<template #header>{{ $ts.notificationSetting }}</template>
<div v-if="showGlobalToggle" class="_section">
<div v-if="showGlobalToggle" class="_root">
<MkSwitch v-model:value="useGlobalSetting">
{{ $ts.useGlobalSetting }}
<template #desc>{{ $ts.useGlobalSettingDesc }}</template>
</MkSwitch>
</div>
<div v-if="!useGlobalSetting" class="_section">
<div v-if="!useGlobalSetting" class="_root">
<MkInfo>{{ $ts.notificationSettingDesc }}</MkInfo>
<MkButton inline @click="disableAll">{{ $ts.disableAll }}</MkButton>
<MkButton inline @click="enableAll">{{ $ts.enableAll }}</MkButton>