Skip to content

Commit

Permalink
chore: Switch !! for Boolean()
Browse files Browse the repository at this point in the history
  • Loading branch information
ramedina86 committed Sep 19, 2024
1 parent 83f6115 commit c7f65bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/builder/BuilderSettingsHandlers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const pageKeys = computed(() => {
const pages = wf.getComponents("root");
const pageKeys = pages
.map((page) => page.content["key"])
.filter((pageKey) => !!pageKey);
.filter((pageKey) => Boolean(pageKey));
return pageKeys;
});
Expand Down

0 comments on commit c7f65bc

Please sign in to comment.