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
return;
}
os.modal(await import('./visibility-chooser.vue'), {
os.modal(await import('./visibility-picker.vue'), {
currentVisibility: this.visibility,
currentLocalOnly: this.localOnly
}, {

View File

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