mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 00:45:58 +00:00
app title
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
import { activeTab, currentDatabase } from '../stores';
|
||||
import getElectron from './getElectron';
|
||||
import _ from 'lodash';
|
||||
import { isProApp } from './proTools';
|
||||
|
||||
$: title = _.compact([$activeTab?.title, $currentDatabase?.name, 'DbGate']).join(' - ');
|
||||
$: title = _.compact([$activeTab?.title, $currentDatabase?.name, isProApp() ? 'DbGate Premium' : 'DbGate']).join(
|
||||
' - '
|
||||
);
|
||||
|
||||
$: {
|
||||
const electron = getElectron();
|
||||
|
||||
Reference in New Issue
Block a user