Skip to content

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

enable read-only checkbox

Ilian Sapundshievdd14693ed498
diff --git a/app/components/dialogs/CreateLocationDialog.js b/app/components/dialogs/CreateLocationDialog.js
index bf05e5636..4a99201a5 100644
--- a/app/components/dialogs/CreateLocationDialog.js
+++ b/app/components/dialogs/CreateLocationDialog.js
@@ -326,7 +326,7 @@ class CreateLocationDialog extends React.Component<Props, State> {
}
label={i18n.t('core:startupLocation')}
/>
- {/* <FormControlLabel
+ <FormControlLabel
control={
<Switch
disabled={!Pro}
@@ -337,7 +337,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 4c125d12f..ad839ae29 100644
--- a/app/components/dialogs/EditLocationDialog.js
+++ b/app/components/dialogs/EditLocationDialog.js
@@ -324,7 +324,7 @@ class EditLocationDialog extends React.Component<Props, State> {
}
label={i18n.t('core:startupLocation')}
/>
- {/* <FormControlLabel
+ <FormControlLabel
control={
<Switch
disabled={!Pro}
@@ -335,7 +335,7 @@ class EditLocationDialog extends React.Component<Props, State> {
/>
}
label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}
- /> */}
+ />
<FormControlLabel
control={
<Switch