style: format and lint

This commit is contained in:
laurejablonski 2025-04-06 16:05:32 +02:00
parent 4074ae9ba4
commit 3de6a77843
2 changed files with 9 additions and 12 deletions

View file

@ -90,14 +90,14 @@
dialog.value = true;
showSnackbar(t("created"), "success");
// reload the table with classes
// Reload the table with classes
await refetch();
} catch (e: any) {
} catch (_) {
showSnackbar(t("wrong"), "error");
}
}
if (!className.value || className.value === "") {
alert("classname should not be empty");
showSnackbar(t("name is mandatory"), "error");
}
}