mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Open file tab by default
This commit is contained in:
parent
d677b825e1
commit
0e376866a7
@ -3,7 +3,7 @@
|
|||||||
import Icon from './icon.svelte';
|
import Icon from './icon.svelte';
|
||||||
|
|
||||||
export let tabs = [];
|
export let tabs = [];
|
||||||
export let selectedKey = {};
|
export let selectedKey = '';
|
||||||
export let canAddTab = false;
|
export let canAddTab = false;
|
||||||
export let multiline = false;
|
export let multiline = false;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
export let host;
|
export let host;
|
||||||
export let database;
|
export let database;
|
||||||
export let collection;
|
export let collection;
|
||||||
export let tab = 'stats';
|
export let tab = 'find';
|
||||||
|
|
||||||
const tabs = {
|
const tabs = {
|
||||||
'stats': { icon: 'chart', title: 'Stats', component: Stats },
|
'stats': { icon: 'chart', title: 'Stats', component: Stats },
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
$: if (path.join('.') !== prevPath) {
|
$: if (path.join('.') !== prevPath) {
|
||||||
hostTab = 'status';
|
hostTab = 'status';
|
||||||
dbTab = 'stats';
|
dbTab = 'stats';
|
||||||
collTab = 'stats';
|
collTab = 'find';
|
||||||
prevPath = path.join('.');
|
prevPath = path.join('.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user