Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
88ab8a14
Commit
88ab8a14
authored
Sep 01, 2020
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use author_username param for endpoint API URL
parent
4296a807
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/projects/issues/service_desk.html.haml
app/views/projects/issues/service_desk.html.haml
+1
-1
No files found.
app/views/projects/issues/service_desk.html.haml
View file @
88ab8a14
...
...
@@ -7,7 +7,7 @@
-
support_bot_attrs
=
{
service_desk_enabled:
@project
.
service_desk_enabled?
,
**
UserSerializer
.
new
.
represent
(
User
.
support_bot
)
}.
to_json
-
data_endpoint
=
"
#{
expose_path
(
api_v4_projects_issues_path
(
id:
@project
.
id
))
}
?author_
id=
#{
User
.
support_bot
.
id
}
"
-
data_endpoint
=
"
#{
expose_path
(
api_v4_projects_issues_path
(
id:
@project
.
id
))
}
?author_
username=
#{
User
.
support_bot
.
username
}
"
%div
{
class:
"js-service-desk-issues service-desk-issues"
,
data:
{
support_bot:
support_bot_attrs
,
service_desk_meta:
service_desk_meta
(
@project
)
}
}
.top-area
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment