diff --git a/packages/web/src/utility/createQuickExportMenu.ts b/packages/web/src/utility/createQuickExportMenu.ts index 3444e224c..b8c2de202 100644 --- a/packages/web/src/utility/createQuickExportMenu.ts +++ b/packages/web/src/utility/createQuickExportMenu.ts @@ -17,7 +17,7 @@ export function createQuickExportMenuItems(handler: (fmt: QuickExportDefinition) onClick: handler(fmt), })), { divider: true }, - isProApp() && { + { text: _t('export.currentArchive', { defaultMessage : 'Current archive'}), onClick: handler({ extension: 'jsonl', diff --git a/packages/web/src/widgets/StatusBar.svelte b/packages/web/src/widgets/StatusBar.svelte index 4fa3f6c1d..aad507563 100644 --- a/packages/web/src/widgets/StatusBar.svelte +++ b/packages/web/src/widgets/StatusBar.svelte @@ -27,7 +27,6 @@ import { useConnectionColor } from '../utility/useConnectionColor'; import { apiCall } from '../utility/api'; import { statusBarTabInfo } from '../utility/statusBarStore'; - import { isProApp } from '../utility/proTools'; $: databaseName = $currentDatabase && $currentDatabase.name; $: connection = $currentDatabase && $currentDatabase.connection; @@ -156,7 +155,7 @@ {/if} - {#if isProApp() && $currentArchive && $currentArchive != 'default'} + {#if $currentArchive && $currentArchive != 'default'}
{#if hasPermission('widgets/database')} @@ -23,7 +22,7 @@ {#if $visibleSelectedWidget == 'history' && hasPermission('widgets/history')} {/if} -{#if $visibleSelectedWidget == 'archive' && hasPermission('widgets/archive') && isProApp()} +{#if $visibleSelectedWidget == 'archive' && hasPermission('widgets/archive')} {/if} {#if $visibleSelectedWidget == 'plugins' && hasPermission('widgets/plugins')} diff --git a/packages/web/src/widgets/WidgetIconPanel.svelte b/packages/web/src/widgets/WidgetIconPanel.svelte index 505f04946..8694778c8 100644 --- a/packages/web/src/widgets/WidgetIconPanel.svelte +++ b/packages/web/src/widgets/WidgetIconPanel.svelte @@ -62,7 +62,7 @@ name: 'history', title: _t('widgets.queryHistoryAndClosedTabs', { defaultMessage: 'Query history & Closed tabs' }), }, - isProApp() && { + { icon: 'icon archive', name: 'archive', title: _t('widgets.archive', { defaultMessage: 'Archive (saved tabular data)' }),