Skip to content
Snippets Groups Projects
Commit 55af0518 authored by Antoine Detailleur's avatar Antoine Detailleur
Browse files

[NRRPLT-8259] delete unnecessary cssing

parent 4d42c46d
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,4 @@ ...@@ -9,8 +9,4 @@
.modal-header{ .modal-header{
background-color: rgb(241, 185, 185); background-color: rgb(241, 185, 185);
color: rgb(138, 41, 41); color: rgb(138, 41, 41);
}
.details{
clear: left;
} }
\ No newline at end of file
...@@ -53,9 +53,9 @@ class ErrorDialog extends React.Component{ ...@@ -53,9 +53,9 @@ class ErrorDialog extends React.Component{
<Modal.Body> <Modal.Body>
{error.message} {error.message}
{this.state.isErrorSourceDisplayed {this.state.isErrorSourceDisplayed
? <div className="details"> ? <div>
{!error.code && !error.data && !error.stack {!error.code && !error.data && !error.stack
? <h6>No scary details</h6> ? <h6>{error.message</h6>
: null} : null}
{this.state.error.code {this.state.error.code
? <div><h6>Code</h6><pre>{this.state.error.code}</pre></div> ? <div><h6>Code</h6><pre>{this.state.error.code}</pre></div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment