Skip to content

Commit cc85627

Browse files
UI: fix create Isolated/L2 network form (#5779)
1 parent 8ace272 commit cc85627

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/role/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ export function isAdmin () {
2222
}
2323

2424
export function isAdminOrDomainAdmin () {
25-
return ['Admin', 'DomainAdmin'].includes(this.$store.getters.userInfo.roletype)
25+
return ['Admin', 'DomainAdmin'].includes(store.getters.userInfo.roletype)
2626
}

0 commit comments

Comments
 (0)