Skip to content

Commit 2abcef9

Browse files
1t5j0yombhardwajj
authored andcommitted
avniproject/avni-client#1671 | Fix inaccessible static status variables
1 parent 623e6d5 commit 2abcef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reports/domain/MetabaseSetupStatus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ class MetabaseSetupStatus {
7474
}
7575

7676
canStartSetup() {
77-
return (this.status === this.NotSetup || this.setupStatus.status !== "COMPLETED") && !this.isAnyJobInProgress();
77+
return (this.status === MetabaseSetupStatus.NotSetup || this.setupStatus.status !== "COMPLETED") && !this.isAnyJobInProgress();
7878
}
7979

8080
isSetupInProgress() {
8181
return this.setupStatus.isRunning(this.timeoutInMillis);
8282
}
8383

8484
isSetupComplete() {
85-
return this.status === this.Setup && this.setupStatus.status === "COMPLETED";
85+
return this.status === MetabaseSetupStatus.Setup && this.setupStatus.status === "COMPLETED";
8686
}
8787

8888
isAnyJobInProgress() {

0 commit comments

Comments
 (0)