mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-26 23:10:25 +01:00
fixed isNew checks
This commit is contained in:
1 parent
ed4f7c7358
commit
9c0d952543
2 files changed
+2
-2
No files matched your search
@@ -24,7 +24,7 @@
|
||||
let passwordConfirm = "";
|
||||
let changePasswordToggle = false;
|
||||
|
||||
$: isNew = !!admin?.id;
|
||||
$: isNew = !admin?.id;
|
||||
|
||||
$: hasChanges =
|
||||
(isNew && email != "") || changePasswordToggle || email !== admin.email || avatar !== admin.avatar;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
export let record;
|
||||
export let collection;
|
||||
export let isNew = !!record.id;
|
||||
export let isNew = !record.id;
|
||||
|
||||
let originalUsername = record.username || null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user