mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 22:18:03 +00:00
Fixed frontend coding style problems
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
host.hostKey = hostKey;
|
||||
}
|
||||
|
||||
$: if (hostKey || dbKey) {
|
||||
$: if (hostKey) {
|
||||
tab = 'status';
|
||||
}
|
||||
|
||||
@ -26,8 +26,9 @@
|
||||
{#key host}
|
||||
<TabBar tabs={[
|
||||
{ key: 'status', icon: 'chart', title: 'Host status' },
|
||||
{ key: 'systemInfo', icon: 'server', title: 'System info' }
|
||||
]} bind:selectedKey={tab} />
|
||||
{ key: 'systemInfo', icon: 'server', title: 'System info' },
|
||||
]}
|
||||
bind:selectedKey={tab} />
|
||||
|
||||
<div class="container">
|
||||
{#if tab === 'status'} <Status {host} />
|
||||
|
Reference in New Issue
Block a user