We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4231ad8 + e2fb4a3 commit 69bdef9Copy full SHA for 69bdef9
ui/packages/shared/pages/Instance/stores/Main.ts
@@ -41,7 +41,7 @@ export type Api = {
41
updateConfig?: UpdateConfig
42
testDbSource?: TestDbSource
43
getFullConfig?: GetFullConfig
44
- getInstanceRetrieval: GetInstanceRetrieval
+ getInstanceRetrieval?: GetInstanceRetrieval
45
}
46
47
type Error = {
@@ -100,6 +100,8 @@ export class MainStore {
100
101
102
private loadInstanceRetrieval = async (instanceId: string) => {
103
+ if (!this.api.getInstanceRetrieval) return
104
+
105
const { response, error } = await this.api.getInstanceRetrieval({
106
instanceId: instanceId,
107
})
0 commit comments