mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 04:57:59 +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';
|
||||
|
||||
export let tabs = [];
|
||||
export let selectedKey = {};
|
||||
export let selectedKey = '';
|
||||
export let canAddTab = false;
|
||||
export let multiline = false;
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
export let host;
|
||||
export let database;
|
||||
export let collection;
|
||||
export let tab = 'stats';
|
||||
export let tab = 'find';
|
||||
|
||||
const tabs = {
|
||||
'stats': { icon: 'chart', title: 'Stats', component: Stats },
|
||||
|
@ -17,7 +17,7 @@
|
||||
$: if (path.join('.') !== prevPath) {
|
||||
hostTab = 'status';
|
||||
dbTab = 'stats';
|
||||
collTab = 'stats';
|
||||
collTab = 'find';
|
||||
prevPath = path.join('.');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user