Skip to content

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

fix search

sytolke4e5693f77ed
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 1bd875016..75c5b1118 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -417,13 +417,11 @@ function GridPagination(props: Props) {
>
{i18n.t('core:noFileFolderFound')}
</Typography>
- {
- !AppConfig.isCordova(
- <Typography style={{ color: theme.palette.text.secondary }}>
- {i18n.t('core:dragAndDropToImport')}
- </Typography>
- )
- }
+ {!AppConfig.isCordova && (
+ <Typography style={{ color: theme.palette.text.secondary }}>
+ {i18n.t('core:dragAndDropToImport')}
+ </Typography>
+ )}
</div>
)}
{!isAppLoading &&
@@ -437,13 +435,11 @@ function GridPagination(props: Props) {
>
{i18n.t('core:noFileButFoldersFound')}
</Typography>
- {
- !AppConfig.isCordova(
- <Typography style={{ color: theme.palette.text.secondary }}>
- {i18n.t('core:dragAndDropToImport')}
- </Typography>
- )
- }
+ {!AppConfig.isCordova && (
+ <Typography style={{ color: theme.palette.text.secondary }}>
+ {i18n.t('core:dragAndDropToImport')}
+ </Typography>
+ )}
</div>
)}
</div>