TagSpaces is an offline, open source, document manager with tagging support
fix: crash on document save in some cased #1090
Ilian Sapundshiev82136c648b89
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsxindex ddee0e1c6..adec75310 100644--- a/app/components/EntryContainer.tsx+++ b/app/components/EntryContainer.tsx@@ -279,9 +279,7 @@ class EntryContainer extends React.Component<Props, State> {if (nextProps.openedFiles.length > 0) {const nextEntry = nextProps.openedFiles[0];if (this.state.currentEntry && this.state.currentEntry.changed) {- this.props.showNotification(- i18n.t('core:currentlyFileChangedSaveOrClose')- );+ // console.warn(i18n.t('core:currentlyFileChangedSaveOrClose'))return true;}