Skip to content

Commit

Permalink
web/satellite: don't make billing API requests if billing is disabled
Browse files Browse the repository at this point in the history
Removed billing API calls on all project dashboard if billing is disabled.

Change-Id: Ia3407c811e599f40670b97e1c2ad9a8f661c0e2a
  • Loading branch information
VitaliiShpital authored and andriikotko committed Oct 30, 2023
1 parent 4f575aa commit 09dbd04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function onViewChangeClicked(view: string): void {
}
onMounted(async () => {
if (!configStore.state.config.nativeTokenPaymentsEnabled) {
if (!(configStore.state.config.nativeTokenPaymentsEnabled && configStore.state.config.billingFeaturesEnabled)) {
return;
}
Expand Down

0 comments on commit 09dbd04

Please sign in to comment.