TagSpaces is an offline, open source, document manager with tagging support
fix e2e
Stanimir8342d822453e
diff --git a/package-lock.json b/package-lock.jsonindex ef709d8aa..f9b8f7182 100644--- a/package-lock.json+++ b/package-lock.json@@ -207,7 +207,7 @@"yarn": "please-use-npm"},"optionalDependencies": {- "@tagspacespro/tagspacespro": "5.0.169"+ "@tagspacespro/tagspacespro": "5.0.170"}},"node_modules/@adobe/css-tools": {@@ -19292,9 +19292,9 @@}},"node_modules/@tagspacespro/tagspacespro": {- "version": "5.0.169",- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.169/ff08ff258964c83a8e0931d20fb10c3e52e75728",- "integrity": "sha512-IX7PbM36adAAxAehVwo4mTIISdFbR1smnFZDGbTZ+2iokaiMG1yxHUPF5FYCXnvzeZKrNJQrBbJEI5oZfikAIA==",+ "version": "5.0.170",+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.170/37c10ee5282081154e4a4bd4ace5cfab92c561ec",+ "integrity": "sha512-qR1kGkA50ZVaiNXU+9W8V2yzXD9vgXRcOtJTSkkL6wy9VMPqzW5/JfDTRBodZJlg4b63i9YDWLOUpW8VGTBNLw==","license": "Proprietary","optional": true},diff --git a/src/renderer/perspectives/grid/components/MainContainer.tsx b/src/renderer/perspectives/grid/components/MainContainer.tsxindex 560980462..93b034cc3 100644--- a/src/renderer/perspectives/grid/components/MainContainer.tsx+++ b/src/renderer/perspectives/grid/components/MainContainer.tsx@@ -98,7 +98,7 @@ function GridPerspective(props: Props) {useState<boolean>(false);const firstRender = useFirstRender();- useReloadOnFocus(currentLocation.reloadOnFocus, () =>+ useReloadOnFocus(currentLocation?.reloadOnFocus, () =>openDirectory(currentDirectoryPath),);diff --git a/src/renderer/perspectives/list/components/MainContainer.tsx b/src/renderer/perspectives/list/components/MainContainer.tsxindex 1750404bc..471392e2d 100644--- a/src/renderer/perspectives/list/components/MainContainer.tsx+++ b/src/renderer/perspectives/list/components/MainContainer.tsx@@ -98,7 +98,7 @@ function ListPerspective(props: Props) {useState<boolean>(false);const firstRender = useFirstRender();- useReloadOnFocus(currentLocation.reloadOnFocus, () =>+ useReloadOnFocus(currentLocation?.reloadOnFocus, () =>openDirectory(currentDirectoryPath),);