mirror of https://github.com/rancher/dashboard.git
Don't blow up if there's no principal
This commit is contained in:
parent
2e3eddaec5
commit
aad57ca77d
|
|
@ -37,7 +37,7 @@ export default {
|
|||
|
||||
computed: {
|
||||
principal() {
|
||||
return this.$store.getters['rancher/byId'](RANCHER.PRINCIPAL, this.$store.getters['auth/principalId']);
|
||||
return this.$store.getters['rancher/byId'](RANCHER.PRINCIPAL, this.$store.getters['auth/principalId']) || {};
|
||||
},
|
||||
|
||||
counts() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue