fix(editor): Fix login issue for non-admin users (#3754)

This commit is contained in:
Omar Ajoue 2022-07-21 14:36:20 +02:00 committed by GitHub
parent e65016c861
commit ccd1ed2c4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2897,9 +2897,6 @@ export default mixins(
async loadCredentials (): Promise<void> {
await this.$store.dispatch('credentials/fetchAllCredentials');
},
async loadCommunityNodes (): Promise<void> {
await this.$store.dispatch('communityNodes/fetchInstalledPackages');
},
async loadNodesProperties(nodeInfos: INodeTypeNameVersion[]): Promise<void> {
const allNodes:INodeTypeDescription[] = this.$store.getters.allNodeTypes;
@ -3007,7 +3004,6 @@ export default mixins(
this.loadCredentials(),
this.loadCredentialTypes(),
this.loadNodeTypes(),
this.loadCommunityNodes(),
];
try {