/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
}
render() {
- const {displayNotification, notificationMessage, displayScreenLoader, ...state} = this.state;
+ const {displayNotification, notificationMessage, displayScreenLoader, notificationType, ...state} = this.state;
var html;
if (this.matchesLoginUrl()) {
<Crouton
id={Date.now()}
message={notificationMessage}
- type={"error"}
+ type={notificationType}
hidden={!(displayNotification && notificationMessage)}
onDismiss={SkyquakeContainerActions.hideNotification}
/>