Skip to content

Commit 49d4eaa

Browse files
authored
Slightly improved warning message (#9033)
1 parent 08b4cfe commit 49d4eaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cvat-ui/src/components/labels-editor/label-form.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export default class LabelForm extends React.Component<Props> {
425425
className: 'cvat-modal-delete-label-attribute',
426426
icon: <ExclamationCircleOutlined />,
427427
title: `Do you want to remove the "${attr.name}" attribute?`,
428-
content: 'This action is undone. All annotations associated to the attribute will be removed',
428+
content: 'This action cannot be undone. All annotations associated to the attribute will be removed',
429429
type: 'warning',
430430
okButtonProps: { type: 'primary', danger: true },
431431
onOk: () => {

cvat-ui/src/components/labels-editor/labels-editor.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default class LabelsEditor extends React.PureComponent<LabelsEditorProps,
162162
className: 'cvat-modal-delete-label',
163163
icon: <ExclamationCircleOutlined />,
164164
title: `Do you want to delete "${label.name}" label?`,
165-
content: 'This action is undone. All annotations associated to the label will be deleted.',
165+
content: 'This action cannot be undone. All annotations associated to the label will be deleted.',
166166
type: 'warning',
167167
okButtonProps: { type: 'primary', danger: true },
168168
onOk() {

0 commit comments

Comments
 (0)