Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Nov 14, 2023
1 parent 567473e commit c40113b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
noteActionsWithMark,
noteActionsWithDuplicate,
electronicAccess,
urlRelationshipActions,
} from '../../../../../constants';

export const ACTION_VALUE_KEY = 'name';
Expand Down Expand Up @@ -300,9 +299,9 @@ export const getDefaultActions = (option, options, formatMessage) => {
actions: [
null,
{
actionsList: urlRelationshipActions(formatMessage),
actionsList: electronicAccessActions,
controlType: () => CONTROL_TYPES.ELECTRONIC_ACCESS_RELATIONSHIP_SELECT,
[ACTION_VALUE_KEY]: noteDefaultActions[0].value,
[ACTION_VALUE_KEY]: electronicAccessActions[0].value,
[FIELD_VALUE_KEY]: '',
},
],
Expand Down
9 changes: 1 addition & 8 deletions src/constants/inAppActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export const noteActionsWithMark = (formatMessage) => [
export const electronicAccess = (formatMessage) => [
getPlaceholder(formatMessage),
getClearAction(formatMessage),
getReplaceAction(formatMessage),
getFindAction(formatMessage),
getReplaceAction(formatMessage),
];
export const noteActionsWithDuplicate = (formatMessage) => [
getPlaceholder(formatMessage),
Expand All @@ -171,10 +171,3 @@ export const commonAdditionalActions = (formatMessage) => [
getReplaceAction(formatMessage),
getRemoveTheseAction(formatMessage),
];

export const urlRelationshipActions = (formatMessage) => [
getPlaceholder(formatMessage),
getClearAction(formatMessage),
getFindAction(formatMessage),
getReplaceAction(formatMessage),
];

0 comments on commit c40113b

Please sign in to comment.