Skip to content

Commit 34a22f3

Browse files
committed
fix f6caa2c: nuke sections for src only if UserCSS
1 parent 0bc2e96 commit 34a22f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background/style-manager/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export function getCore({id, sections, size, src, vars} = {}) {
169169
style[k_size] = calcObjSize(style);
170170
if (sections)
171171
tmp = style.sections.map(sec => ({...sec, code: undefined}));
172-
if (!src || !sections)
172+
if (!src || !sections && style[UCD])
173173
style.sections = tmp;
174174
if (!src)
175175
style.sourceCode = undefined;

0 commit comments

Comments
 (0)