Skip to content

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

chore: fix prettier

Ilian Sapundshiev394419f60127
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 2ad8fc1d8..cbb0d5519 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -634,7 +634,11 @@ function EntryContainer(props: Props) {
</IconButton>
</Tooltip>
)}
- {!(PlatformIO.haveObjectStoreSupport() || PlatformIO.haveWebDavSupport() || AppConfig.isWeb) && (
+ {!(
+ PlatformIO.haveObjectStoreSupport() ||
+ PlatformIO.haveWebDavSupport() ||
+ AppConfig.isWeb
+ ) && (
<Tooltip title={i18n.t('core:openFileExternally')}>
<IconButton
aria-label={i18n.t('core:openFileExternally')}
@@ -772,7 +776,11 @@ function EntryContainer(props: Props) {
const renderFolderToolbar = () => (
<div className={props.classes.toolbar2}>
<div className={props.classes.flexLeft}>
- {!(PlatformIO.haveObjectStoreSupport() || PlatformIO.haveWebDavSupport() || AppConfig.isWeb) && (
+ {!(
+ PlatformIO.haveObjectStoreSupport() ||
+ PlatformIO.haveWebDavSupport() ||
+ AppConfig.isWeb
+ ) && (
<Tooltip title={i18n.t('core:openDirectoryExternally')}>
<IconButton
aria-label={i18n.t('core:openDirectoryExternally')}
diff --git a/app/components/dialogs/CreateFileDialog.tsx b/app/components/dialogs/CreateFileDialog.tsx
index bdd6c2508..73c99cc81 100644
--- a/app/components/dialogs/CreateFileDialog.tsx
+++ b/app/components/dialogs/CreateFileDialog.tsx
@@ -274,7 +274,8 @@ function CreateFileDialog(props: Props) {
value={selectedDirectoryPath.current}
onChange={handleFileChange}
endAdornment={
- PlatformIO.haveObjectStoreSupport() || PlatformIO.haveWebDavSupport() ? (
+ PlatformIO.haveObjectStoreSupport() ||
+ PlatformIO.haveWebDavSupport() ? (
undefined
) : (
<InputAdornment position="end" style={{ height: 32 }}>
diff --git a/app/components/menus/FileMenu.tsx b/app/components/menus/FileMenu.tsx
index ad55e6d39..0edb27d13 100644
--- a/app/components/menus/FileMenu.tsx
+++ b/app/components/menus/FileMenu.tsx
@@ -270,7 +270,11 @@ function FileMenu(props: Props) {
);
}
if (
- !(PlatformIO.haveObjectStoreSupport() || PlatformIO.haveWebDavSupport() || AppConfig.isWeb) &&
+ !(
+ PlatformIO.haveObjectStoreSupport() ||
+ PlatformIO.haveWebDavSupport() ||
+ AppConfig.isWeb
+ ) &&
selectedEntries.length < 2
) {
menuItems.push(