Fix: don't send null value
This commit is contained in:
parent
ff3bf6f52d
commit
b9968830d3
|
@ -331,7 +331,10 @@ const styleManager = (() => {
|
|||
);
|
||||
}
|
||||
if (id) {
|
||||
return {[id]: cache.sections[id]};
|
||||
if (cache.sections[id]) {
|
||||
return {[id]: cache.sections[id]};
|
||||
}
|
||||
return {};
|
||||
}
|
||||
return cache.sections;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user