Skip to content

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

fix: restoring message for advanced functionality

Ilian Sapundshieve6e51cb722be
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index e99a3ac09..53f3b9bd5 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -1428,6 +1428,16 @@ export const actions = {
Pro.Watcher.stopWatching();
}
if (location.type === locationType.TYPE_CLOUD) {
+ if (!Pro) {
+ dispatch(
+ actions.showNotification(
+ i18n.t('core:thisFunctionalityIsAvailableInPro'),
+ 'warning',
+ true
+ )
+ );
+ return;
+ }
PlatformIO.enableObjectStoreSupport(location)
.then(() => {
dispatch(