change whole backend and tables for gorm table references

simplify tables with table components close #31
This commit is contained in:
Adrian Zürcher
2025-11-29 15:59:18 +01:00
parent 62549c9039
commit bdcceb53e0
29 changed files with 646 additions and 514 deletions

View File

@@ -15,7 +15,7 @@ const router = useRouter();
const userStore = useUserStore();
onMounted(() => {
if (userStore.user?.username !== '' && userStore.user?.role !== '') {
if (userStore.user?.username !== '' && userStore.user?.role.role !== '') {
forwardToPage().catch((err) => console.error(err));
}
});