Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable uiRefresh on staging link #1107

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions src/lib/testFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ class TestFlags {
return this.queryParams.address;
}

get isolatedMargin() {
return !!this.queryParams.isolatedmargin;
}

get enableComplianceApi() {
return !!this.queryParams.complianceapi;
}

get enableVaults() {
return !!this.queryParams.vaults || import.meta.env.MODE === 'staging';
}
Expand All @@ -53,11 +45,11 @@ class TestFlags {
}

get pml() {
return !!this.queryParams.pml;
return !!this.queryParams.pml || import.meta.env.MODE === 'staging';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ... || isDev for both development (local) and staging!

}

get showLimitClose() {
return !!this.queryParams.limitclose;
return !!this.queryParams.limitclose || import.meta.env.MODE === 'staging';
}

get referralCode() {
Expand All @@ -69,7 +61,7 @@ class TestFlags {
}

get uiRefresh() {
return !!this.queryParams.uirefresh;
return !!this.queryParams.uirefresh || import.meta.env.MODE === 'staging';
}
}

Expand Down
Loading