mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-27 00:07:13 +01:00
Reserved items for User View is now hidden
This commit is contained in:
parent
8a9c2f1b0e
commit
62e5d20d58
1 changed files with 5 additions and 4 deletions
|
|
@ -105,8 +105,9 @@ class ReserveditemResourceUser extends Resource
|
|||
|
||||
|
||||
|
||||
public static function canViewAny(): bool
|
||||
{
|
||||
return auth()->user()->is_admin==false;
|
||||
}
|
||||
public static function canViewAny(): bool
|
||||
{
|
||||
return false;
|
||||
//return auth()->user()->is_admin==false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue