Skip to content

Commit

Permalink
EPMRPP-81919 || Add defect type modal fix (#3646)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet authored Nov 10, 2023
1 parent 261bffa commit 88b9128
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { SystemMessage } from 'componentLibrary/systemMessage';
import { COMMON_LOCALE_KEYS } from 'common/constants/localization';
import { PROJECT_SETTINGS_DEFECT_TYPES_EVENTS } from 'analyticsEvents/projectSettingsPageEvents';
import { docsReferences, createExternalLink } from 'common/utils';
import { Divider, TabDescription, MODAL_ACTION_TYPE_EDIT, FormattedDescription } from '../elements';
import { Divider, TabDescription, MODAL_ACTION_TYPE_ADD, FormattedDescription } from '../elements';
import { MAX_DEFECT_TYPES_COUNT, WARNING_DEFECT_TYPES_COUNT } from './constants';
import { SettingsPageContent } from '../settingsPageContent';
import { DefectTypeRow } from './defectTypeRow';
Expand Down Expand Up @@ -89,7 +89,7 @@ export const DefectTypes = ({ setHeaderTitleNode }) => {
id: 'addEditDefectTypeModal',
data: {
onSave: addDefect,
actionType: MODAL_ACTION_TYPE_EDIT,
actionType: MODAL_ACTION_TYPE_ADD,
defectType: { color: defectGroup.color, typeRef: defectGroup.typeRef },
defectTypes,
},
Expand Down

0 comments on commit 88b9128

Please sign in to comment.