Skip to content
Snippets Groups Projects
Commit d0fff562 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 8ce5366e
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment