style: format and lint
This commit is contained in:
parent
4074ae9ba4
commit
3de6a77843
2 changed files with 9 additions and 12 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue