This commit is contained in:
syuilo 2020-09-20 19:36:14 +09:00
parent ea303daf64
commit c547173427
2 changed files with 3 additions and 3 deletions

View File

@ -423,7 +423,7 @@ export default defineComponent({
// TODO: information dialog // TODO: information dialog
return; return;
} }
os.modal(await import('./visibility-chooser.vue'), { os.modal(await import('./visibility-picker.vue'), {
currentVisibility: this.visibility, currentVisibility: this.visibility,
currentLocalOnly: this.localOnly currentLocalOnly: this.localOnly
}, { }, {

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="gqyayizv"> <div class="gqyayizv _panel">
<button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="1" key="public"> <button class="_button" @click="choose('public')" :class="{ active: v == 'public' }" data-index="1" key="public">
<div><fa :icon="faGlobe"/></div> <div><fa :icon="faGlobe"/></div>
<div> <div>
@ -35,7 +35,7 @@
<span>{{ $t('_visibility.localOnly') }}</span> <span>{{ $t('_visibility.localOnly') }}</span>
<span>{{ $t('_visibility.localOnlyDescription') }}</span> <span>{{ $t('_visibility.localOnlyDescription') }}</span>
</div> </div>
<div><fa :icon="localOnly ? faToggleOn : faToggleOff"/></div> <div><fa :icon="localOnly ? faToggleOn : faToggleOff" :key="localOnly"/></div>
</button> </button>
</div> </div>
</template> </template>