mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 08:09:41 +02:00
add avanced-only
This commit is contained in:
parent
19e776a772
commit
8d2d571683
2 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,6 @@ interface CanOrganizeRedirectParams {
|
|||
redirect: (path: string) => void
|
||||
}
|
||||
export default function ({ $auth, redirect }: CanOrganizeRedirectParams) {
|
||||
console.log($auth.user);
|
||||
// If the user is not allowed to organize redirect to the home page
|
||||
if (!$auth.user.canOrganize) {
|
||||
console.warn("User is not allowed to organize data");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue