Fixed: Ensure Monitoring Options resets to No Change

(cherry picked from commit 180153cd8440df88c9aa5694c67c6cae537dc595)
This commit is contained in:
Bogdan
2023-07-23 03:09:57 +03:00
parent f399d27470
commit ac4ae9bb4d
2 changed files with 2 additions and 2 deletions

View File

@@ -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({

View File

@@ -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({