File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,6 @@ export default {
522522 meta : any ;
523523 source : ActionCheckSource ;
524524 } ) : Promise < boolean | string > => {
525- console . log ( "edit aa check 🔒" , meta , source , adminUser ) ;
526525 return adminUser . dbUser . role === "superadmin" ;
527526 // return true;
528527 // if (source === ActionCheckSource.DisplayButtons) {
@@ -542,7 +541,6 @@ export default {
542541 return true ;
543542 } ,
544543 show : async ( { adminUser, meta, source, adminforth } : any ) => {
545- console . log ( "show aa check 🔒" , meta ) ;
546544 // if (source === 'showRequest' || source === 'editLoadRequest') {
547545 // const record = await adminforth.resource('aparts').get(Filters.EQ('id', meta.pk));
548546 // return record.user_id === adminUser.dbUser.id;
You can’t perform that action at this time.
0 commit comments