load db structure progress (postgresql) #273

This commit is contained in:
Jan Prochazka
2022-05-26 16:32:05 +02:00
parent affb935f63
commit 3f22960849
4 changed files with 29 additions and 7 deletions

View File

@@ -65,7 +65,7 @@
objectTypeField: 'queries',
pureName: query.name,
schemaName: app.name,
sql: query.sql
sql: query.sql,
}))
),
]);
@@ -134,7 +134,7 @@
</SearchBoxWrapper>
<WidgetsInnerContainer>
{#if ($status && ($status.name == 'pending' || $status.name == 'checkStructure' || $status.name == 'loadStructure') && $objects) || !$objects}
<LoadingInfo message="Loading database structure" />
<LoadingInfo message={$status?.feedback?.analysingMessage || 'Loading database structure'} />
{:else}
<AppObjectList
list={objectList.map(x => ({ ...x, conid, database }))}