Skip to content

Commit 69bdef9

Browse files
committed
Merge branch '404-ui-retrieving-fix' into 'master'
fix: Transparency of the data retrieving process (#404) Closes #404 See merge request postgres-ai/database-lab!587
2 parents 4231ad8 + e2fb4a3 commit 69bdef9

File tree

1 file changed

+3
-1
lines changed
  • ui/packages/shared/pages/Instance/stores

1 file changed

+3
-1
lines changed

ui/packages/shared/pages/Instance/stores/Main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type Api = {
4141
updateConfig?: UpdateConfig
4242
testDbSource?: TestDbSource
4343
getFullConfig?: GetFullConfig
44-
getInstanceRetrieval: GetInstanceRetrieval
44+
getInstanceRetrieval?: GetInstanceRetrieval
4545
}
4646

4747
type Error = {
@@ -100,6 +100,8 @@ export class MainStore {
100100
}
101101

102102
private loadInstanceRetrieval = async (instanceId: string) => {
103+
if (!this.api.getInstanceRetrieval) return
104+
103105
const { response, error } = await this.api.getInstanceRetrieval({
104106
instanceId: instanceId,
105107
})

0 commit comments

Comments
 (0)