Skip to content

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

disabling the ui for readonly mode

Ilian Sapundshiev433a6524ba15
diff --git a/app/components/dialogs/CreateLocationDialog.js b/app/components/dialogs/CreateLocationDialog.js
index 032342b90..68c7db907 100644
--- a/app/components/dialogs/CreateLocationDialog.js
+++ b/app/components/dialogs/CreateLocationDialog.js
@@ -366,7 +366,7 @@ class CreateLocationDialog extends React.Component<Props, State> {
}
label={i18n.t('core:startupLocation')}
/>
- <FormControlLabel
+ {/* <FormControlLabel
control={
<Switch
disabled={!Pro}
@@ -377,7 +377,7 @@ class CreateLocationDialog extends React.Component<Props, State> {
/>
}
label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}
- />
+ /> */}
<FormControlLabel
control={
<Switch
diff --git a/app/components/dialogs/EditLocationDialog.js b/app/components/dialogs/EditLocationDialog.js
index a33b526eb..25819df8b 100644
--- a/app/components/dialogs/EditLocationDialog.js
+++ b/app/components/dialogs/EditLocationDialog.js
@@ -319,7 +319,7 @@ class EditLocationDialog extends React.Component<Props, State> {
}
label={i18n.t('core:startupLocation')}
/>
- <FormControlLabel
+ {/* <FormControlLabel
control={
<Switch
disabled={!Pro}
@@ -330,7 +330,7 @@ class EditLocationDialog extends React.Component<Props, State> {
/>
}
label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}
- />
+ /> */}
<FormControlLabel
control={
<Switch