Skip to content

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

fix: disabling experimental webdav support

Ilian Sapundshiev18c1844c5350
diff --git a/app/components/dialogs/CreateEditLocationDialog.tsx b/app/components/dialogs/CreateEditLocationDialog.tsx
index d61e9a036..a13e4af26 100644
--- a/app/components/dialogs/CreateEditLocationDialog.tsx
+++ b/app/components/dialogs/CreateEditLocationDialog.tsx
@@ -513,9 +513,14 @@ function CreateEditLocationDialog(props: Props) {
<MenuItem key="TYPE_CLOUD" value={locationType.TYPE_CLOUD}>
{i18n.t('core:objectStorage') + ' (AWS, MinIO, Wasabi,...)'}
</MenuItem>
- <MenuItem key="TYPE_WEBDAV" value={locationType.TYPE_WEBDAV}>
- {i18n.t('core:webdavLocation') + ' (experimental)'}
- </MenuItem>
+ {Pro && (
+ <MenuItem
+ key="TYPE_WEBDAV"
+ value={locationType.TYPE_WEBDAV}
+ >
+ {i18n.t('core:webdavLocation') + ' (experimental)'}
+ </MenuItem>
+ )}
</Select>
</FormControl>
{content}