Merge branch 'fix/duplicated-success-message' into 'develop'
Remove duplicated success message See merge request pleroma/admin-fe!75
This commit is contained in:
commit
53a7ea3eee
3 changed files with 2 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
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
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue