feat: Ado 1296 spike credential setup in templates (#7786)

- Add a 'Setup template credentials' view to setup the credentials of a
template before it is created
This commit is contained in:
Tomi Turtiainen
2023-11-27 16:30:28 +02:00
committed by GitHub
parent 27e048c201
commit aae45b043b
25 changed files with 1423 additions and 20 deletions

View File

@@ -110,12 +110,9 @@ export default defineComponent({
this.credentialsStore.fetchAllCredentials(),
this.credentialsStore.fetchCredentialTypes(false),
this.externalSecretsStore.fetchAllSecrets(),
this.nodeTypesStore.loadNodeTypesIfNotLoaded(),
];
if (this.nodeTypesStore.allNodeTypes.length === 0) {
loadPromises.push(this.nodeTypesStore.getNodeTypes());
}
await Promise.all(loadPromises);
await this.usersStore.fetchUsers(); // Can be loaded in the background, used for filtering