italia/design-angular-kit

BUG: ErrorPageComponent impossibile nascondere codice errore

Closed this issue · 1 comments

Comportamento atteso

Il passaggio della proprietà showErrorCode dovrebbe inibire la visualizzazione del codice errore.

Comportamento attuale

Se alla proprietà showErrorCode viene associato l'errore false il codice errore resta visibile mentre viene nascosto il pulsante back-button.

Possibili soluzioni

this.showBackButton = data['showErrorCode']; // Get showErrorCode from route data

Sostituire con:
this.showErrorCode = data['showErrorCode']; // Get showErrorCode from route data

Risolto con il rilascio della versione v1.0.0-16.