Skip to content

Commit

Permalink
set error sign for chart errors
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Nov 17, 2017
1 parent 0dbfb07 commit 33547ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/client/components/widgets/enhancers/errorChartState.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const getErrorMessage = (error = {}) => {

module.exports = emptyState(
({error}) => error,
({error} = {}) => ({
({error, iconFit} = {}) => ({
glyph: "warning-sign",
iconFit,
tooltip: getErrorMessage(error)
})
);

0 comments on commit 33547ac

Please sign in to comment.