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.jsindex 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+ {/* <FormControlLabelcontrol={<Switchdisabled={!Pro}@@ -377,7 +377,7 @@ class CreateLocationDialog extends React.Component<Props, State> {/>}label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}- />+ /> */}<FormControlLabelcontrol={<Switchdiff --git a/app/components/dialogs/EditLocationDialog.js b/app/components/dialogs/EditLocationDialog.jsindex 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+ {/* <FormControlLabelcontrol={<Switchdisabled={!Pro}@@ -330,7 +330,7 @@ class EditLocationDialog extends React.Component<Props, State> {/>}label={i18n.t('core:readonlyModeSwitch') + (Pro ? '' : ' - ' + i18n.t('core:proFeature'))}- />+ /> */}<FormControlLabelcontrol={<Switch