Skip to content

Commit

Permalink
Fix query import
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskerr committed Oct 2, 2024
1 parent 4151bb0 commit de3f0ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/zui/src/js/state/Queries/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ export const parseJSONLib = (filePath: string): {libRoot: Group} => {
item.id = nanoid()
if ("items" in item) {
item.isOpen = false
} else {
item.value ??= ""
item.pins ??= []
}
})

Expand Down

0 comments on commit de3f0ee

Please sign in to comment.