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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {