mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 11:45:59 +00:00
cloud account in statusbar
This commit is contained in:
@@ -216,7 +216,7 @@
|
||||
$cloudConnectionsStore[data.conid] &&
|
||||
!$cloudConnectionsStore[data.conid].singleDatabase &&
|
||||
$openedConnections.includes(data.conid)}
|
||||
getIsExpanded={data => $expandedConnections.includes(data.conid) && !data.singleDatabase}
|
||||
getIsExpanded={data => $expandedConnections.includes(data.conid)}
|
||||
setIsExpanded={(data, value) => {
|
||||
expandedConnections.update(old => (value ? [...old, data.conid] : old.filter(x => x != data.conid)));
|
||||
}}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
import {
|
||||
activeTabId,
|
||||
appUpdateStatus,
|
||||
cloudSigninTokenHolder,
|
||||
currentArchive,
|
||||
currentDatabase,
|
||||
currentThemeDefinition,
|
||||
@@ -154,7 +155,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{#if $currentArchive}
|
||||
{#if $currentArchive && $currentArchive != 'default'}
|
||||
<div
|
||||
class="item flex clickable"
|
||||
title="Current archive"
|
||||
@@ -184,6 +185,13 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if $cloudSigninTokenHolder?.email}
|
||||
<div class="item">
|
||||
<FontIcon icon="icon cloud" padRight />
|
||||
{$cloudSigninTokenHolder?.email}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if $appUpdateStatus}
|
||||
<div class="item">
|
||||
<FontIcon icon={$appUpdateStatus.icon} padRight />
|
||||
|
||||
Reference in New Issue
Block a user