web/satellite: don't make billing API requests if billing is disabled
Removed billing API calls on all project dashboard if billing is disabled. Change-Id: Ia3407c811e599f40670b97e1c2ad9a8f661c0e2a
This commit is contained in:
parent
4f07994bfb
commit
539253f646
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user