asdasd
This commit is contained in:
@@ -913,8 +913,13 @@
|
||||
|
||||
};
|
||||
|
||||
if (Array.isArray(data.snippets) && data.snippets.length) applySnips(data.snippets);
|
||||
else (B.fetchSnippets ? B.fetchSnippets() : Promise.resolve([])).then(applySnips);
|
||||
if (Array.isArray(data.snippets) && data.snippets.length) {
|
||||
applySnips(data.snippets);
|
||||
} else if (B.USE_DYNAMIC_SECTIONS) {
|
||||
applySnips([]);
|
||||
} else {
|
||||
(B.fetchSnippets ? B.fetchSnippets() : Promise.resolve([])).then(applySnips);
|
||||
}
|
||||
|
||||
if (data.ref && (Array.isArray(data.ref.sections) || Array.isArray(data.ref.blocks))) {
|
||||
replaceReferenceLibrary(ed, {
|
||||
|
||||
Reference in New Issue
Block a user