mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 20:23:08 +02:00
[Client] Resolve #2596
This commit is contained in:
parent
8caf853c80
commit
e264a49b08
1 changed files with 10 additions and 0 deletions
|
@ -219,6 +219,16 @@ export default Vue.extend({
|
||||||
(this.$refs.text as any).focus();
|
(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() {
|
chooseFile() {
|
||||||
(this.$refs.file as any).click();
|
(this.$refs.file as any).click();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue