zwischenstand

This commit is contained in:
Martin Drechsel
2025-05-06 11:09:56 +02:00
parent 410a885d21
commit b729c8ebbe
40 changed files with 2252 additions and 376 deletions

View File

@ -71,7 +71,8 @@ const { add } = useSnackbar();
const handleError = (error: unknown) => {
isOpen.value = false;
add({ type: "error", text: JSON.stringify(error) });
console.log("handleError", error, typeof error);
add({ type: "error", text: "Passwort falsch" });
//console.error(error);
};
@ -100,6 +101,7 @@ const onLoadDatabase = async () => {
};
const localePath = useLocalePath();
const onOpenDatabase = async () => {
try {
check.value = true;
@ -120,7 +122,10 @@ const onOpenDatabase = async () => {
});
if (!vaultId) {
add({ type: "error", text: "Vault konnte nicht geöffnet werden" });
add({
type: "error",
text: "Vault konnte nicht geöffnet werden. \n Vermutlich ist das Passwort falsch",
});
return;
}