diff --git a/CHANGELOG.md b/CHANGELOG.md index 350902fe2..7e1837173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ * Omit (don't disable) "+ New" button in `` when user lacks permission. Refs STSMACOM-836. * Avoid deprecated `defaultProps` for functional components. Refs STSMACOM-835. * Upgrade `notes` to `v4.0`. Refs STSMACOM-861. +* Improve confirmation modal footer for `ControlledVocab` component. Refs STSMACOM-863. ## [9.1.3](https://github.com/folio-org/stripes-smart-components/tree/v9.1.3) (2024-05-06) [Full Changelog](https://github.com/folio-org/stripes-smart-components/compare/v9.1.2...v9.1.3) diff --git a/lib/ControlledVocab/ControlledVocab.js b/lib/ControlledVocab/ControlledVocab.js index b1331c85e..ba9d77959 100644 --- a/lib/ControlledVocab/ControlledVocab.js +++ b/lib/ControlledVocab/ControlledVocab.js @@ -15,6 +15,7 @@ import { Paneset, Row, Loading, + ModalFooter, } from '@folio/stripes-components'; import EditableList from '../EditableList'; @@ -437,8 +438,21 @@ class ControlledVocab extends React.Component { const type = this.props.labelSingular; const { cannotDeleteTermHeader, cannotDeleteTermMessage } = this.props.translations ?? {}; + const footer = ( + + + + ); + return ( - - - - - ); }