diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DefaultRecordActionsConfig.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DefaultRecordActionsConfig.tsx index 4876d3401..f899779d0 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DefaultRecordActionsConfig.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/constants/DefaultRecordActionsConfig.tsx @@ -156,13 +156,27 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< availableOn: [ActionViewType.INDEX_PAGE_BULK_SELECTION], component: , }, + [NoSelectionRecordActionKeys.IMPORT_RECORDS]: { + type: ActionType.Standard, + scope: ActionScope.Object, + key: NoSelectionRecordActionKeys.IMPORT_RECORDS, + label: msg`Import records`, + shortLabel: msg`Import`, + position: 6, + Icon: IconFileImport, + accent: 'default', + isPinned: false, + shouldBeRegistered: () => true, + availableOn: [ActionViewType.INDEX_PAGE_NO_SELECTION], + component: , + }, [NoSelectionRecordActionKeys.EXPORT_VIEW]: { type: ActionType.Standard, scope: ActionScope.Object, key: NoSelectionRecordActionKeys.EXPORT_VIEW, label: msg`Export view`, shortLabel: msg`Export`, - position: 6, + position: 7, Icon: IconFileExport, accent: 'default', isPinned: false, @@ -176,7 +190,7 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< key: SingleRecordActionKeys.DELETE, label: msg`Delete`, shortLabel: msg`Delete`, - position: 7, + position: 8, Icon: IconTrash, accent: 'default', isPinned: true, @@ -196,7 +210,7 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< key: MultipleRecordsActionKeys.DELETE, label: msg`Delete records`, shortLabel: msg`Delete`, - position: 8, + position: 9, Icon: IconTrash, accent: 'default', isPinned: true, @@ -220,7 +234,7 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< key: NoSelectionRecordActionKeys.SEE_DELETED_RECORDS, label: msg`See deleted records`, shortLabel: msg`Deleted records`, - position: 9, + position: 10, Icon: IconRotate2, accent: 'default', isPinned: false, @@ -235,7 +249,7 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< key: NoSelectionRecordActionKeys.HIDE_DELETED_RECORDS, label: msg`Hide deleted records`, shortLabel: msg`Hide deleted`, - position: 10, + position: 11, Icon: IconEyeOff, accent: 'default', isPinned: false, @@ -244,20 +258,6 @@ export const DEFAULT_RECORD_ACTIONS_CONFIG: Record< availableOn: [ActionViewType.INDEX_PAGE_NO_SELECTION], component: , }, - [NoSelectionRecordActionKeys.IMPORT_RECORDS]: { - type: ActionType.Standard, - scope: ActionScope.Object, - key: NoSelectionRecordActionKeys.IMPORT_RECORDS, - label: msg`Import records`, - shortLabel: msg`Import`, - position: 11, - Icon: IconFileImport, - accent: 'default', - isPinned: false, - shouldBeRegistered: () => true, - availableOn: [ActionViewType.INDEX_PAGE_NO_SELECTION], - component: , - }, [SingleRecordActionKeys.DESTROY]: { type: ActionType.Standard, scope: ActionScope.RecordSelection,