Skip to content

Commit

Permalink
true false statt 1 und 0
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Sep 2, 2021
1 parent 098a79f commit 2be89eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Schueler.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
`
)
.run(s.gesperrt ? 0 : 1, s.id);
if (res) s.gesperrt = s.gesperrt ? 0 : 1;
if (res) s.gesperrt = s.gesperrt ? false : true;
};
const edit_memo = (_) => {
const res = $db
Expand Down

0 comments on commit 2be89eb

Please sign in to comment.