fix(editor): Skip community node types request on preview mode (no-changelog) (#16876)

This commit is contained in:
Jaakko Husso
2025-07-01 15:11:28 +03:00
committed by GitHub
parent 9ffca02016
commit 697a57f386

View File

@@ -366,7 +366,7 @@ export const useNodeTypesStore = defineStore(STORES.NODE_TYPES, () => {
};
const fetchCommunityNodePreviews = async () => {
if (!settingsStore.isCommunityNodesFeatureEnabled) {
if (!settingsStore.isCommunityNodesFeatureEnabled || settingsStore.isPreviewMode) {
return;
}
try {