Merge pull request #205 in TEA/mina-sidor-fa-web from bugfix/TV-722-fe-error-applicationref.tick-is-called-recursively to develop

Squashed commit of the following:

commit 5b5ef3dbfd0e53ac613826a38c005887ddeb4e12
Merge: 811dc11c b2457609
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Mon Oct 18 08:35:05 2021 +0200

    Merge branch 'develop' into bugfix/TV-722-fe-error-applicationref.tick-is-called-recursively

commit 811dc11ca22a632708d6b5c6b024fa5849eb747d
Author: WP\holno <nikola.holst-nikolic@arbetsformedlingen.se>
Date:   Fri Oct 15 14:12:56 2021 +0200

    `Error: ApplicationRef.tick is called recursively` is shown in the console while editing an account due to "message" not being optional as it's null on page-load.
This commit is contained in:
Nikola Holst Nikolic
2021-10-18 08:39:32 +02:00
parent b245760942
commit 9104fc310a

View File

@@ -119,7 +119,7 @@
(afOnClose)="emitCloseError()" (afOnClose)="emitCloseError()"
> >
<p>Personalkontot för {{employee.fullName}} kunde inte redigeras. Vänligen försök igen.</p> <p>Personalkontot för {{employee.fullName}} kunde inte redigeras. Vänligen försök igen.</p>
<p class="msfa__small-text" *ngIf="errorWhileUpdating.message">{{errorWhileUpdating.message}}</p> <p class="msfa__small-text" *ngIf="errorWhileUpdating?.message">{{errorWhileUpdating.message}}</p>
</digi-notification-alert> </digi-notification-alert>
<digi-notification-alert <digi-notification-alert