[accelerator] show wait list message in preview when logged in with no access

This commit is contained in:
nymkappa
2023-11-29 15:02:48 +09:00
parent c23a872887
commit 2cbc6783a4
2 changed files with 7 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ export class AcceleratePreviewComponent implements OnInit, OnDestroy, OnChanges
this.estimateSubscription.unsubscribe();
}
if (this.estimate.userBalance <= 0) {
if (this.estimate.hasAccess === true && this.estimate.userBalance <= 0) {
if (this.isLoggedIn()) {
this.error = `not_enough_balance`;
this.scrollToPreviewWithTimeout('mempoolError', 'center');