1
0
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:
Romein van Buren 2023-07-24 20:07:29 +02:00
parent d677b825e1
commit 0e376866a7
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 },

View File

@ -17,7 +17,7 @@
$: if (path.join('.') !== prevPath) {
hostTab = 'status';
dbTab = 'stats';
collTab = 'stats';
collTab = 'find';
prevPath = path.join('.');
}