Skip to content

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

polish: add reload button in the setting general tab

Ilian Sapundshievbcfaf3f7ec48
diff --git a/app/components/dialogs/settings/SettingsGeneral.tsx b/app/components/dialogs/settings/SettingsGeneral.tsx
index fad8913f9..537e84233 100644
--- a/app/components/dialogs/settings/SettingsGeneral.tsx
+++ b/app/components/dialogs/settings/SettingsGeneral.tsx
@@ -308,6 +308,15 @@ const SettingsGeneral = (props: Props) => {
>
{i18n.t('core:resetSettings')}
</Button>
+ <Button
+ data-tid="reloadAppTID"
+ onClick={() => {
+ location.reload();
+ }}
+ color="secondary"
+ >
+ {i18n.t('core:reloadApplication')}
+ </Button>
</ListItem>
</List>
);
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index f9f5e83e2..2eb0eac20 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -513,5 +513,7 @@
"extractGeoCoordinates": "Extract geo-coordinates from files as tags",
"geoTagCurrentFolder": "Geo-tag current folder",
"toggleMapTheme": "Toggle map theme",
+ "pauseSlideShow": "pauseSlideShow",
+ "startSlideShow": "startSlideShow",
"-": "-"
}
diff --git a/tests/e2e/perspective-grid.e2e.js b/tests/e2e/perspective-grid.e2e.js
index ec4dd77ee..e541b26aa 100644
--- a/tests/e2e/perspective-grid.e2e.js
+++ b/tests/e2e/perspective-grid.e2e.js
@@ -33,7 +33,7 @@ import {
selectorFolder,
selectRowFiles,
setSettings,
- waitForNotification,
+ waitForNotification
} from './general.helpers';
import { AddRemoveTagsToSelectedFiles } from './perspective-grid.helpers';
import { getPropertiesFileName } from './file.properties.helpers';