Skip to content

Commit 2be89eb

Browse files
committed
true false statt 1 und 0
1 parent 098a79f commit 2be89eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Schueler.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
`
100100
)
101101
.run(s.gesperrt ? 0 : 1, s.id);
102-
if (res) s.gesperrt = s.gesperrt ? 0 : 1;
102+
if (res) s.gesperrt = s.gesperrt ? false : true;
103103
};
104104
const edit_memo = (_) => {
105105
const res = $db

0 commit comments

Comments
 (0)