|
|
@ -50,6 +50,7 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Fetch data whenever schema changes |
|
|
const onUpdateColumns = () => { |
|
|
const onUpdateColumns = () => { |
|
|
search.update({ |
|
|
search.update({ |
|
|
schema, |
|
|
schema, |
|
|
@ -78,6 +79,7 @@ |
|
|
{#if schema && Object.keys(schema).length > 0} |
|
|
{#if schema && Object.keys(schema).length > 0} |
|
|
{#if !isUsersTable} |
|
|
{#if !isUsersTable} |
|
|
<CreateRowButton |
|
|
<CreateRowButton |
|
|
|
|
|
on:updaterows={search.refresh} |
|
|
title={"Create row"} |
|
|
title={"Create row"} |
|
|
modalContentComponent={CreateEditRow} |
|
|
modalContentComponent={CreateEditRow} |
|
|
/> |
|
|
/> |
|
|
|