From e264a49b081963b2839bd5035c9dce31716bac81 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 2 Dec 2018 20:24:38 +0900 Subject: [PATCH] [Client] Resolve #2596 --- src/client/app/mobile/views/components/post-form.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 868b235f9..50fee826b 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -219,6 +219,16 @@ export default Vue.extend({ (this.$refs.text as any).focus(); }, + addVisibleUser() { + this.$root.dialog({ + title: this.$t('enter-username'), + user: true + }).then(({ canceled, result: user }) => { + if (canceled) return; + this.visibleUsers.push(user); + }); + }, + chooseFile() { (this.$refs.file as any).click(); },