Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
admin-fe
Merge requests
!179
Create Report show page, link Mod Log references to the respective report
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Create Report show page, link Mod Log references to the respective report
feature/link-to-report
into
develop
Overview
0
Commits
10
Pipelines
1
Changes
10
Merged
Angelina Filippova
requested to merge
feature/link-to-report
into
develop
4 years ago
Overview
0
Commits
10
Pipelines
1
Changes
10
Expand
Closes
#146 (closed)
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
27568dee
10 commits,
4 years ago
10 files
+
478
−
170
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
src/api/reports.js
+
9
−
0
Options
@@ -24,6 +24,15 @@ export async function fetchReports(filter, page, pageSize, authHost, token) {
})
}
export
async
function
fetchSingleReport
(
id
,
authHost
,
token
)
{
return
await
request
({
baseURL
:
baseName
(
authHost
),
url
:
`/api/pleroma/admin/reports/
${
id
}
`
,
method
:
'
get
'
,
headers
:
authHeaders
(
token
)
})
}
export
async
function
createNote
(
content
,
reportID
,
authHost
,
token
)
{
return
await
request
({
baseURL
:
baseName
(
authHost
),
Loading