Fixed Notification color

This commit is contained in:
Philipp Czora
2019-02-27 14:28:20 +01:00
parent 2840398126
commit 1b7044ed76

View File

@@ -2,6 +2,7 @@
import React from "react"; import React from "react";
import {BackendError} from "./errors"; import {BackendError} from "./errors";
import classNames from "classnames"; import classNames from "classnames";
import Notification from "./Notification";
import {translate} from "react-i18next"; import {translate} from "react-i18next";
@@ -19,6 +20,7 @@ class BackendErrorNotification extends React.Component<Props, State> {
const icon = collapsed ? "fa-angle-right" : "fa-angle-down"; const icon = collapsed ? "fa-angle-right" : "fa-angle-down";
return ( return (
<Notification type="danger">
<div className="content"> <div className="content">
<p className="subtitle"> <p className="subtitle">
<span <span
@@ -33,6 +35,7 @@ class BackendErrorNotification extends React.Component<Props, State> {
</p> </p>
{this.renderUncollapsed()} {this.renderUncollapsed()}
</div> </div>
</Notification>
); );
} }