Skip to content

Commit d24fa00

Browse files
authored
Merge pull request #106 from devforth/fix-dynamic-showin
fix: fix dynamic showIn calls
2 parents e4870ab + 621ebd4 commit d24fa00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/modules/restApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
498498
}
499499
const showIn = {} as ShowInResolved;
500500
await Promise.all(
501-
Object.entries(col.showIn).map(
501+
Object.entries(inCol.showIn).map(
502502
async ([key, value]: [string, AllowedActionValue]) => {
503503
// if callable then call
504504
if (typeof value === 'function') {

0 commit comments

Comments
 (0)