Fixed: Ensure Monitoring Options resets to No Change

(cherry picked from commit 180153cd8440df88c9aa5694c67c6cae537dc595)
pull/2719/head
Bogdan 1 year ago
parent f399d27470
commit ac4ae9bb4d

@ -33,7 +33,7 @@ class MonitoringOptionsModalContent extends Component {
const { const {
isSaving, isSaving,
saveError saveError
} = prevProps; } = this.props;
if (prevProps.isSaving && !isSaving && !saveError) { if (prevProps.isSaving && !isSaving && !saveError) {
this.setState({ this.setState({

@ -30,7 +30,7 @@ class BookshelfFooter extends Component {
const { const {
isSaving, isSaving,
saveError saveError
} = prevProps; } = this.props;
if (prevProps.isSaving && !isSaving && !saveError) { if (prevProps.isSaving && !isSaving && !saveError) {
this.setState({ this.setState({

Loading…
Cancel
Save