Skip to content

Commit 4000831

Browse files
committed
chore: remove debug console.logs from dev demo
1 parent 2322fdf commit 4000831

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dev-demo/resources/apartments.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)