Commit 53a7ea3e authored by Maxim Filippov's avatar Maxim Filippov 🌚

Merge branch 'fix/duplicated-success-message' into 'develop'

Remove duplicated success message

See merge request pleroma/admin-fe!75
parents 7731d5c1 3c9778ff
......@@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Show checkmarks when tag is applied
- Reports update (also, now it's optimistic)
- Remove duplicated success message
## [1.2.0] - 2019-09-27
......
import { Message } from 'element-ui'
import { changeState, fetchReports, fetchGroupedReports, createNote, deleteNote } from '@/api/reports'
const reports = {
......@@ -117,13 +116,6 @@ const reports = {
})
commit('SET_REPORTS', updatedReports)
},
SuccessMessage(text) {
return Message({
message: text,
type: 'success',
duration: 5 * 1000
})
}
}
}
......
......@@ -263,9 +263,8 @@ const users = {
}
},
SuccessMessage() {
return Message({
Message.success({
message: i18n.t('users.completed'),
type: 'success',
duration: 5 * 1000
})
},
......
Markdown is supported
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