This commit is contained in:
syuilo
2020-11-03 15:22:55 +09:00
parent 5ef4a52bbd
commit c3ae6f3a4a
25 changed files with 73 additions and 62 deletions

View File

@ -378,13 +378,13 @@ export default defineComponent({
this.saveDraft();
},
async setVisibility() {
setVisibility() {
if (this.channel) {
// TODO: information dialog
return;
}
os.popup(await import('./visibility-picker.vue'), {
os.popup(import('./visibility-picker.vue'), {
currentVisibility: this.visibility,
currentLocalOnly: this.localOnly,
src: this.$refs.visibilityButton