remaining backend interactor removals
This commit is contained in:
parent
28efd7ebd2
commit
0d9709825f
45 changed files with 1118 additions and 856 deletions
|
|
@ -5,8 +5,11 @@ import List from 'src/components/list/list.vue'
|
|||
import Modal from 'src/components/modal/modal.vue'
|
||||
import UserLink from 'src/components/user_link/user_link.vue'
|
||||
|
||||
import { useCredentialsStore } from 'src/stores/credentials.js'
|
||||
import { useReportsStore } from 'src/stores/reports.js'
|
||||
|
||||
import { reportUser } from 'src/services/api/api.service.js'
|
||||
|
||||
const UserReportingModal = {
|
||||
components: {
|
||||
List,
|
||||
|
|
@ -71,9 +74,9 @@ const UserReportingModal = {
|
|||
comment: this.comment,
|
||||
forward: this.forward,
|
||||
statusIds: [...this.statusIdsToReport],
|
||||
credentials: useCredentialsStore().current,
|
||||
}
|
||||
this.$store.state.api.backendInteractor
|
||||
.reportUser({ ...params })
|
||||
reportUser({ ...params })
|
||||
.then(() => {
|
||||
this.processing = false
|
||||
this.resetState()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue