taxtank-core 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12816,7 +12816,7 @@ let RestService$1 = class RestService extends DataService {
|
|
|
12816
12816
|
* @throws HttpErrorResponse | Error - Always throws the error further as an Observable<never>
|
|
12817
12817
|
*/
|
|
12818
12818
|
handleError(error) {
|
|
12819
|
-
if (error instanceof HttpErrorResponse) {
|
|
12819
|
+
if (error instanceof HttpErrorResponse && error.status !== 404) {
|
|
12820
12820
|
if (this.useBackendError) {
|
|
12821
12821
|
if (error.error.detail) {
|
|
12822
12822
|
this.toastService.error(error.error.detail);
|
|
@@ -25016,7 +25016,8 @@ class BankAccountAllocationForm extends AbstractForm {
|
|
|
25016
25016
|
* Form is using for single manual bank account creation (not Basiq)
|
|
25017
25017
|
*/
|
|
25018
25018
|
class BankAccountForm extends BankAccountAllocationForm {
|
|
25019
|
-
static
|
|
25019
|
+
// static accountNumberPattern = '^[0-9]{6}[ ]{1}[0-9]{1,}$';
|
|
25020
|
+
static { this.accountNumberPattern = '^[0-9]{6}'; }
|
|
25020
25021
|
constructor(bankAccount) {
|
|
25021
25022
|
super(bankAccount, {
|
|
25022
25023
|
type: new FormControl(bankAccount.type, Validators.required),
|