updated protected files visualization

This commit is contained in:
Gani Georgiev
2023-04-17 13:28:41 +03:00
parent 5eb54c7a3d
commit 1b8776926e
7 changed files with 54 additions and 36 deletions

View File

@@ -92,6 +92,9 @@
initialDraft = getDraft();
if (!initialDraft || areRecordsEqual(record, initialDraft)) {
initialDraft = null;
} else {
delete initialDraft.password;
delete initialDraft.passwordConfirm;
}
originalSerializedData = JSON.stringify(record);
@@ -482,7 +485,7 @@
</Field>
{#if collection?.isAuth}
<AuthFields bind:record {collection} />
<AuthFields bind:record {isNew} {collection} />
{#if collection?.schema?.length}
<hr />