Skip to content

Commit 54c3dc3

Browse files
authoredNov 5, 2024··
Merge pull request #130 from NazarUsov/2.0.2
2.1.0
2 parents ca847ff + c5a829e commit 54c3dc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+232
-88
lines changed
 

‎html_source/src/app/api/services/api-zano.service.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ export class ApiZanoService {
1414
return this.httpClient.get<WrapInfo>('https://wrapped.zano.org/api2/get_wrap_info');
1515
}
1616

17-
getVerifiedAssetInfoWhitelist(type: 'mainnet' | 'testnet'): Observable<{ assets: VerifiedAssetInfoWhitelist; signature: string }> {
17+
getVerifiedAssetInfoWhitelist(type: 'mainnet' | 'testnet'): Observable<{
18+
assets: VerifiedAssetInfoWhitelist;
19+
signature: string;
20+
}> {
1821
let url: string;
1922
if (type === 'mainnet') {
2023
url = 'https://api.zano.org/assets_whitelist.json';
2124
} else {
2225
url = 'https://api.zano.org/assets_whitelist_testnet.json';
2326
}
24-
return this.httpClient.get<{ assets: VerifiedAssetInfoWhitelist; signature: string }>(url);
27+
28+
return this.httpClient.get<{ assets: VerifiedAssetInfoWhitelist; signature: string }>(url, {
29+
headers: { 'Cache-Control': 'no-cache' },
30+
});
2531
}
2632
}

‎html_source/src/app/pages/auth/login/login.component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<form (ngSubmit)="onSubmitCreatePass()" *ngIf="type === 'reg'" [formGroup]="regForm" class="form">
88
<div class="auth-card-form">
9-
<div class="form__field fixed mb-2">
9+
<div class="form__field mb-2">
1010
<label for="master-pass">{{ 'LOGIN.SETUP_MASTER_PASS' | translate }}</label>
1111
<input
1212
(contextmenu)="variablesService.onContextMenuPasteSelect($event)"
@@ -19,7 +19,7 @@
1919
/>
2020
<div *ngIf="regForm.controls['password'].dirty && regForm.controls['password'].errors" class="error">
2121
<div *ngIf="regForm.controls['password'].errors.pattern">
22-
{{ 'ERRORS.WRONG_PASSWORD' | translate }}
22+
{{ 'ERRORS.REGEXP_INVALID_PASSWORD' | translate }}
2323
</div>
2424
</div>
2525
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.