Skip to content

Commit

Permalink
Slightly improved warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Jan 31, 2025
1 parent 559178e commit b29fa6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cvat-ui/src/components/labels-editor/label-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ export default class LabelForm extends React.Component<Props> {
className: 'cvat-modal-delete-label-attribute',
icon: <ExclamationCircleOutlined />,
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: () => {
Expand Down
2 changes: 1 addition & 1 deletion cvat-ui/src/components/labels-editor/labels-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class LabelsEditor extends React.PureComponent<LabelsEditorProps,
className: 'cvat-modal-delete-label',
icon: <ExclamationCircleOutlined />,
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() {
Expand Down

0 comments on commit b29fa6b

Please sign in to comment.