fix: Do not wait for community nodes to load (#18628)

Co-authored-by: Elias Meire <elsmr@users.noreply.github.com>
This commit is contained in:
Shireen Missi
2025-08-21 15:20:37 +01:00
committed by GitHub
parent 0db9345eba
commit f7a663172b
2 changed files with 3 additions and 2 deletions

View File

@@ -339,8 +339,6 @@ export const useNodeTypesStore = defineStore(STORES.NODE_TYPES, () => {
const getNodeTypes = async () => {
const nodeTypes = await nodeTypesApi.getNodeTypes(rootStore.baseUrl);
await fetchCommunityNodePreviews();
if (nodeTypes.length) {
setNodeTypes(nodeTypes);
}
@@ -440,6 +438,7 @@ export const useNodeTypesStore = defineStore(STORES.NODE_TYPES, () => {
isConfigurableNode,
communityNodesAndActions,
communityNodeType,
fetchCommunityNodePreviews,
getResourceMapperFields,
getLocalResourceMapperFields,
getNodeParameterActionResult,

View File

@@ -343,6 +343,8 @@ async function initializeData() {
try {
await Promise.all(loadPromises);
//We don't need to await this as community node previews are not critical and needed only in nodes search panel
void nodeTypesStore.fetchCommunityNodePreviews();
} catch (error) {
toast.showError(
error,