1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

update comments

This commit is contained in:
Kuchenpirat 2024-02-07 11:28:26 +00:00
parent dff351a8eb
commit 7dbc031725
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ interface CanManageRedirectParams {
redirect: (path: string) => void
}
export default function ({ $auth, redirect }: CanManageRedirectParams) {
// If the user is not allowed to organize redirect to the home page
// If the user is not allowed to manage group settings redirect to the home page
console.log($auth.user)
if (!$auth.user.canManage) {
console.warn("User is not allowed to manage group settings");