Minor fix to ActionsColumn function
No longer uses hooks but instead takes in the title
This commit is contained in:
@@ -343,7 +343,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
|
||||
i18ncat: "filament",
|
||||
width: 150,
|
||||
}),
|
||||
ActionsColumn(actions),
|
||||
ActionsColumn(t("table.actions"), actions),
|
||||
])}
|
||||
/>
|
||||
</List>
|
||||
|
||||
@@ -465,7 +465,7 @@ export const SpoolList: React.FC<IResourceComponentsProps> = () => {
|
||||
i18ncat: "spool",
|
||||
width: 150,
|
||||
}),
|
||||
ActionsColumn(actions),
|
||||
ActionsColumn(t("table.actions"), actions),
|
||||
])}
|
||||
/>
|
||||
</List>
|
||||
|
||||
2
client/src/pages/vendors/list.tsx
vendored
2
client/src/pages/vendors/list.tsx
vendored
@@ -202,7 +202,7 @@ export const VendorList: React.FC<IResourceComponentsProps> = () => {
|
||||
id: "comment",
|
||||
i18ncat: "vendor",
|
||||
}),
|
||||
ActionsColumn<IVendor>(actions),
|
||||
ActionsColumn<IVendor>(t("table.actions"), actions),
|
||||
])}
|
||||
/>
|
||||
</List>
|
||||
|
||||
Reference in New Issue
Block a user