From b29fa6b6492202834aeb9bcc4862457ca02759c2 Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Fri, 31 Jan 2025 15:30:14 +0200 Subject: [PATCH] Slightly improved warning message --- cvat-ui/src/components/labels-editor/label-form.tsx | 2 +- cvat-ui/src/components/labels-editor/labels-editor.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cvat-ui/src/components/labels-editor/label-form.tsx b/cvat-ui/src/components/labels-editor/label-form.tsx index be7e221a6454..a065d2962043 100644 --- a/cvat-ui/src/components/labels-editor/label-form.tsx +++ b/cvat-ui/src/components/labels-editor/label-form.tsx @@ -425,7 +425,7 @@ export default class LabelForm extends React.Component { className: 'cvat-modal-delete-label-attribute', icon: , title: `Do you want to remove the "${attr.name}" attribute?`, - content: 'This action is undone. All annotations associated to the attribute will be removed', + content: 'This action cannot be undone. All annotations associated to the attribute will be removed', type: 'warning', okButtonProps: { type: 'primary', danger: true }, onOk: () => { diff --git a/cvat-ui/src/components/labels-editor/labels-editor.tsx b/cvat-ui/src/components/labels-editor/labels-editor.tsx index dc9fccdaf791..645e28168164 100644 --- a/cvat-ui/src/components/labels-editor/labels-editor.tsx +++ b/cvat-ui/src/components/labels-editor/labels-editor.tsx @@ -162,7 +162,7 @@ export default class LabelsEditor extends React.PureComponent, title: `Do you want to delete "${label.name}" label?`, - content: 'This action is undone. All annotations associated to the label will be deleted.', + content: 'This action cannot be undone. All annotations associated to the label will be deleted.', type: 'warning', okButtonProps: { type: 'primary', danger: true }, onOk() {