148. Adding notification styles and tag element (#18)
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
<router-outlet></router-outlet>
|
||||
<notifier-container></notifier-container>
|
||||
|
||||
|
||||
@ -63,6 +63,6 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
private sendErrorNotification(message: string) {
|
||||
this.notificationService.notify(NotificationType.ERROR, message ? message : 'AN ERROR OCCURRED. PLEASE TRY AGAIN')
|
||||
this.notificationService.notify(NotificationType.ERROR, message ? message : 'An error occurred. Please try again')
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ const notifierCustomOptions: NotifierOptions = {
|
||||
distance: 150,
|
||||
},
|
||||
vertical: {
|
||||
position: 'bottom',
|
||||
position: 'top',
|
||||
distance: 12,
|
||||
gap: 10,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user