1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00

Fix flashes

This commit is contained in:
Adria Navarro 2024-08-22 12:22:21 +02:00
parent cdead18402
commit a63d193a3c

View file

@ -116,6 +116,7 @@
let relationshipPanelColumns = []
$: {
relationshipPanelColumns = []
if (relationshipField) {
cache.actions.getTable(relationshipField.tableId).then(table => {
relationshipPanelColumns = Object.entries(
@ -141,8 +142,6 @@
: 1
)
})
} else {
relationshipPanelColumns = []
}
}
@ -218,7 +217,7 @@
{#if allowRelationshipSchemas}
<Popover
on:close={() => (relationshipFieldName = null)}
open={!!relationshipField}
open={!!relationshipPanelColumns}
anchor={relationshipPanelAnchor}
align="right-outside"
>