export/import PoC works
This commit is contained in:
parent
d2cce99086
commit
89b05cfc57
5 changed files with 60 additions and 81 deletions
|
|
@ -136,7 +136,7 @@ export const deserialize = (input) => {
|
|||
|
||||
output.directives = Object.fromEntries(content.map(d => {
|
||||
const [property, value] = d.split(':')
|
||||
let realValue = value.trim()
|
||||
let realValue = (value || '').trim()
|
||||
if (property === 'shadow') {
|
||||
if (realValue === 'none') {
|
||||
realValue = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue