Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing issue by creating a location

Ilian Sapundshiev840d9f0fd093
diff --git a/app/components/dialogs/CreateLocationDialog.js b/app/components/dialogs/CreateLocationDialog.js
index 1039dd28a..403ceabe9 100644
--- a/app/components/dialogs/CreateLocationDialog.js
+++ b/app/components/dialogs/CreateLocationDialog.js
@@ -41,8 +41,7 @@ import AppConfig from '../../config';
type Props = {
open: boolean,
onClose: () => void,
- addLocation: (location: Location) => void,
- showNotification: (text: string, notificationType: string, autohide: boolean) => void
+ addLocation: (location: Location) => void
};
type State = {
@@ -133,7 +132,6 @@ class CreateLocationDialog extends GenericDialog<Props, State> {
perspective: this.state.perspective,
isDefault: this.state.isDefault
});
- this.props.showNotification('Location created successfully.');
this.setState({
open: false,
errorTextPath: false,