Skip to content

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

showing welcome perspective on undefined location

Ilian Sapundshievb9556a8da4cd
diff --git a/app/components/FolderContainer.js b/app/components/FolderContainer.js
index c570da45a..9618fa297 100644
--- a/app/components/FolderContainer.js
+++ b/app/components/FolderContainer.js
@@ -193,6 +193,11 @@ class FolderContainer extends React.Component<Props, State> {
}
return true;
});
+ } else { // closing the perspective
+ this.setState({
+ currentLocation: undefined,
+ currentPerspective: undefined
+ });
}
};