sveltel fixes

This commit is contained in:
2023-10-06 18:47:50 +03:00
parent 9bbe5ee9b4
commit 0eaf410090
28 changed files with 361 additions and 218 deletions
-4
View File
@@ -14,7 +14,6 @@
const channel = getContext("channel");
export let schema;
export let title;
export let record;
export let graph = {
records: [],
@@ -25,7 +24,6 @@
export let users;
let originalContent;
let activeContentTab = "";
let recordGraph = null;
$: hasUnsavedData = false;
$: validationErrors = null;
$: errorMessage = validationErrors
@@ -202,8 +200,6 @@
{schema}
{isCreateMode}
bind:active={activeContentTab}
{record}
bind:recordGraph
/>
{#if !["_graph", "_info"].includes(activeContentTab)}
<FilePreview {record} {schema}/>