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
40fc9399
Commit
40fc9399
authored
Feb 04, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use radix 10 in parseInt calls
parent
9c8bc24b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/related_issues/components/related_issues_list.vue
...scripts/related_issues/components/related_issues_list.vue
+2
-2
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
+1
-1
No files found.
app/assets/javascripts/related_issues/components/related_issues_list.vue
View file @
40fc9399
...
...
@@ -60,8 +60,8 @@ export default {
const
nextItemEl
=
itemEl
.
nextElementSibling
;
return
{
beforeId
:
prevItemEl
&&
parseInt
(
prevItemEl
.
dataset
.
orderingId
,
0
),
afterId
:
nextItemEl
&&
parseInt
(
nextItemEl
.
dataset
.
orderingId
,
0
),
beforeId
:
prevItemEl
&&
parseInt
(
prevItemEl
.
dataset
.
orderingId
,
1
0
),
afterId
:
nextItemEl
&&
parseInt
(
nextItemEl
.
dataset
.
orderingId
,
1
0
),
};
},
reordered
(
event
)
{
...
...
ee/app/assets/javascripts/roadmap/roadmap_bundle.js
View file @
40fc9399
...
...
@@ -90,7 +90,7 @@ export default () => {
allowSubEpics
:
parseBoolean
(
dataset
.
allowSubEpics
),
defaultInnerHeight
:
Number
(
dataset
.
innerHeight
),
isChildEpics
:
parseBoolean
(
dataset
.
childEpics
),
currentGroupId
:
parseInt
(
dataset
.
groupId
,
0
),
currentGroupId
:
parseInt
(
dataset
.
groupId
,
1
0
),
basePath
:
dataset
.
epicsPath
,
fullPath
:
dataset
.
fullPath
,
epicIid
:
dataset
.
iid
,
...
...
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