Skip to content

Commit

Permalink
Merge pull request #315 from alerta/note-text
Browse files Browse the repository at this point in the history
Fix note text
  • Loading branch information
satterly authored Apr 18, 2020
2 parents fa2dbaf + 6f7349e commit ff67348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/modules/alerts.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ const actions = {
return AlertsApi.untagAlert(alertId, tags)
},

addNote({ commit, dispatch }, [alertId, note]) {
addNote({ commit, dispatch }, [alertId, text]) {
return AlertsApi.addNote(alertId, {
note: note
text: text
}).then(response => dispatch('getAlerts'))
},
getNotes({ commit }, alertId) {
Expand Down

0 comments on commit ff67348

Please sign in to comment.