diff options
Diffstat (limited to 'modern/src/settings/components')
-rw-r--r-- | modern/src/settings/components/EditCollectionView.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modern/src/settings/components/EditCollectionView.js b/modern/src/settings/components/EditCollectionView.js index ed92c838..b0bf3ea0 100644 --- a/modern/src/settings/components/EditCollectionView.js +++ b/modern/src/settings/components/EditCollectionView.js @@ -60,9 +60,11 @@ const EditCollectionView = ({ menuHide(); }; - const handleRemoveResult = () => { + const handleRemoveResult = (removed) => { setRemoveDialogShown(false); - setUpdateTimestamp(Date.now()); + if (removed) { + setUpdateTimestamp(Date.now()); + } }; const Content = content; |