Skip to content

Commit ad2315f

Browse files
committed
fix: remove unused state property from translation confirmation
1 parent a5d17ff commit ad2315f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ export default class I18nPlugin extends AdminForthPlugin {
444444
badge: 'AI',
445445
// if optional `confirm` is provided, user will be asked to confirm action
446446
confirm: 'Are you sure you want to translate selected items? Only empty strings will be translated',
447-
state: 'selected' as any,
448447
allowed: async ({ resource, adminUser, selectedIds, allowedActions }) => {
449448
process.env.HEAVY_DEBUG && console.log('allowedActions', JSON.stringify(allowedActions));
450449
return allowedActions.edit;

0 commit comments

Comments
 (0)