mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
fix(editor): Fix login issue for non-admin users (#3754)
This commit is contained in:
parent
e65016c861
commit
ccd1ed2c4c
|
@ -2897,9 +2897,6 @@ export default mixins(
|
||||||
async loadCredentials (): Promise<void> {
|
async loadCredentials (): Promise<void> {
|
||||||
await this.$store.dispatch('credentials/fetchAllCredentials');
|
await this.$store.dispatch('credentials/fetchAllCredentials');
|
||||||
},
|
},
|
||||||
async loadCommunityNodes (): Promise<void> {
|
|
||||||
await this.$store.dispatch('communityNodes/fetchInstalledPackages');
|
|
||||||
},
|
|
||||||
async loadNodesProperties(nodeInfos: INodeTypeNameVersion[]): Promise<void> {
|
async loadNodesProperties(nodeInfos: INodeTypeNameVersion[]): Promise<void> {
|
||||||
const allNodes:INodeTypeDescription[] = this.$store.getters.allNodeTypes;
|
const allNodes:INodeTypeDescription[] = this.$store.getters.allNodeTypes;
|
||||||
|
|
||||||
|
@ -3007,7 +3004,6 @@ export default mixins(
|
||||||
this.loadCredentials(),
|
this.loadCredentials(),
|
||||||
this.loadCredentialTypes(),
|
this.loadCredentialTypes(),
|
||||||
this.loadNodeTypes(),
|
this.loadNodeTypes(),
|
||||||
this.loadCommunityNodes(),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue