Commandline arguments #108

This commit is contained in:
Jan Prochazka
2021-05-16 19:21:52 +02:00
parent 73c14eba6d
commit 6dfe9b798b
7 changed files with 118 additions and 41 deletions

View File

@@ -120,6 +120,9 @@ let currentConfigValue = null;
currentConfigStore.subscribe(value => {
currentConfigValue = value;
invalidateCommands();
if (value.singleDatabase) {
currentDatabase.set(value.singleDatabase);
}
});
export const getCurrentConfig = () => currentConfigValue;