mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 05:46:58 +01:00
Fix bug
This commit is contained in:
parent
8ce5366e80
commit
d0fff562ea
1 changed files with 3 additions and 3 deletions
|
@ -68,8 +68,8 @@ export default Vue.extend({
|
|||
icon(): string {
|
||||
return this.$route.query.icon;
|
||||
},
|
||||
permission(): string {
|
||||
return this.$route.query.permission;
|
||||
permission(): string[] {
|
||||
return this.$route.query.permission ? this.$route.query.permission.split(',') : [];
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
@ -79,7 +79,7 @@ export default Vue.extend({
|
|||
session: this.session,
|
||||
name: this.name,
|
||||
iconUrl: this.icon,
|
||||
permission: this.permission || [],
|
||||
permission: this.permission,
|
||||
});
|
||||
|
||||
this.state = 'accepted';
|
||||
|
|
Loading…
Reference in a new issue