Skip to content

Commit fd2f927

Browse files
committed
fix: update allowed injection keys for the 'list' page in ConfigValidator
1 parent bdefd99 commit fd2f927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/modules/configValidator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ export default class ConfigValidator implements IConfigValidator {
863863
// Validate page-specific allowed injection keys
864864
const possiblePages = ['list', 'show', 'create', 'edit'];
865865
const allowedInjectionsByPage: Record<string, string[]> = {
866-
list: ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems', 'customActionIcons', 'tableBodyStart'],
866+
list: ['beforeBreadcrumbs', 'afterBreadcrumbs', 'beforeActionButtons', 'bottom', 'threeDotsDropdownItems', 'customActionIcons', 'tableBodyStart'],
867867
show: ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems'],
868868
edit: ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems', 'saveButton'],
869869
create: ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems', 'saveButton'],

0 commit comments

Comments
 (0)