1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-05 02:09:02 +09:00

[Client] Resolve #2596

This commit is contained in:
syuilo 2018-12-02 20:24:38 +09:00
parent 8caf853c80
commit e264a49b08
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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();
},