Browse Source

fix: loadBases if not loaded before handling state in DataSources

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3573/head
mertmit 2 years ago
parent
commit
77aa171451
  1. 5
      packages/nc-gui/components/dashboard/settings/DataSources.vue

5
packages/nc-gui/components/dashboard/settings/DataSources.vue

@ -179,7 +179,10 @@ watch(
watch( watch(
vState, vState,
(newState) => { async (newState) => {
if (!sources.length) {
await loadBases()
}
switch (newState) { switch (newState) {
case ClientType.MYSQL: case ClientType.MYSQL:
clientType = ClientType.MYSQL clientType = ClientType.MYSQL

Loading…
Cancel
Save