Skip to content

Commit

Permalink
ms_teams_alert_summary to blank
Browse files Browse the repository at this point in the history
  • Loading branch information
nsano-rururu committed Apr 18, 2022
1 parent 6542b71 commit 8d803bd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/store/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -911,13 +911,7 @@ export default {
/* MS Teams */
commit('alert/UPDATE_MS_TEAMS_WEBHOOK_URL', config.ms_teams_webhook_url);
commit('alert/UPDATE_MS_TEAMS_THEME_COLOR', config.ms_teams_theme_color);

if (config.ms_teams_alert_summary) {
commit('alert/UPDATE_MS_TEAMS_ALERT_SUMMARY', config.ms_teams_alert_summary);
} else {
commit('alert/UPDATE_MS_TEAMS_ALERT_SUMMARY', 'ElastAlert Message');
}

commit('alert/UPDATE_MS_TEAMS_ALERT_SUMMARY', config.ms_teams_alert_summary);
commit('alert/UPDATE_MS_TEAMS_ALERT_FIXED_WIDTH', config.ms_teams_alert_fixed_width);
commit('alert/UPDATE_MS_TEAMS_PROXY', config.ms_teams_proxy);

Expand Down

0 comments on commit 8d803bd

Please sign in to comment.