Revert "NOMERGE: Příprava výběrů více možností"
This reverts commit c68141575f.
This commit is contained in:
@@ -256,7 +256,6 @@ export function updateChoice(login: string, choice: Locations | null) {
|
||||
initIfNeeded();
|
||||
const today = formatDate(getToday());
|
||||
let data: ClientData = db.get(today);
|
||||
// TODO pokud už choice najdeme, tak jí smazat, jinak jí přidat
|
||||
data = removeChoice(login, data);
|
||||
if (choice !== null) {
|
||||
if (!data.choices?.[choice]) {
|
||||
|
||||
Reference in New Issue
Block a user