minor fixes

pull/1170/head^2
gabrielburnworth 2019-04-23 11:40:32 -07:00
parent 3600f69c41
commit 917d23126f
3 changed files with 5 additions and 2 deletions

View File

@ -793,7 +793,7 @@ ul {
color: $panel_yellow;
}
.empty-state-graphic {
filter: sepia() contrast(1.2) saturate(1.2);
filter: sepia(1) contrast(1.2) saturate(1.2);
}
}
}

View File

@ -4,6 +4,8 @@ import { Color } from "../ui";
import { history } from "../history";
import { TOUR_STEPS, tourPageNavigation } from "./tours";
import { t } from "../i18next_wrapper";
import { Actions } from "../constants";
import { store } from "../redux/store";
const strings = () => ({
back: t("Back"),
@ -44,6 +46,7 @@ export class Tour extends React.Component<TourProps, TourState> {
if (type === "tour:end") {
this.setState({ run: false });
history.push("/app/messages");
store.dispatch({ type: Actions.START_TOUR, payload: undefined });
}
};

View File

@ -100,7 +100,7 @@ class BulletinAlert
alert={this.props.alert}
className={"bulletin-alert"}
title={title || startCase(this.props.alert.slug)}
iconName={ICON_LOOKUP[type] || "info"}
iconName={ICON_LOOKUP[type] || "info-circle"}
message={t(content)}
timeSettings={this.props.timeSettings}
dispatch={this.props.dispatch}