From bff1e99bcbe85afb7011218e1af48e325f327022 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Mon, 20 Mar 2023 22:51:40 +0400 Subject: [PATCH] Web: Added thumbnails1280x720 to config.json and turned off by default --- packages/client/src/store/SettingsStore.js | 2 +- public/scripts/config.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/client/src/store/SettingsStore.js b/packages/client/src/store/SettingsStore.js index 81d4d5823d..86cd4b04a4 100644 --- a/packages/client/src/store/SettingsStore.js +++ b/packages/client/src/store/SettingsStore.js @@ -31,7 +31,7 @@ class SettingsStore { recentSection = null; hideConfirmConvertSave = null; keepNewFileName = null; - thumbnails1280x720 = false; + thumbnails1280x720 = window.DocSpaceConfig?.thumbnails1280x720 || false; chunkUploadSize = 1024 * 1023; // 1024 * 1023; //~0.999mb settingsIsLoaded = false; diff --git a/public/scripts/config.json b/public/scripts/config.json index 7838eb498c..92050d7cf6 100644 --- a/public/scripts/config.json +++ b/public/scripts/config.json @@ -7,5 +7,6 @@ "proxy": { "url": "" }, - "wrongPortalNameUrl": "https://teamlab.info/wrongportalname.aspx?Site_Testing=4testing" + "wrongPortalNameUrl": "https://teamlab.info/wrongportalname.aspx?Site_Testing=4testing", + "thumbnails1280x720": false }