Skip to content

Commit a7ae3b6

Browse files
committed
fix: rename label to name for history action in resource config
1 parent 671db8a commit a7ae3b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@ modifyResourceConfig(adminforth: IAdminForth, resourceConfig: AdminForthResource
169169
if (!resource.options.actions.find((a) => a.id === historyActionId)) {
170170
resource.options.actions.push({
171171
id: historyActionId,
172-
label: 'Edit History',
172+
name: 'Edit History',
173173
showIn: {
174-
show: true,
175-
edit: true,
176174
list: false,
177175
showButton: false,
178176
showThreeDotsMenu: true

0 commit comments

Comments
 (0)