Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Minds Mobile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Minds
Minds Mobile
Compare revisions
32389e01db34d3b233089198bafb75d7eea8f91d to bb7275ee1e814f2856bd04952b3cf9b8bfa460d7
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
minds/mobile-native
Select target project
No results found
bb7275ee1e814f2856bd04952b3cf9b8bfa460d7
Select Git revision
Swap
Target
minds/mobile-native
Select target project
benhayward.ben/mobile-native
minds/mobile-native
msantang78/mobile-native
edgebal/mobile-native
msantang78_test/mobile-native
duyquoc/mobile-native
priestd09/mobile-native
eiennohi/mobile-native
omadrid/mobile-native
sieuhuflit/mobile-native
juanmsolaro/mobile-native
ascenderking/mobile-native
jim-toth/mobile-native
thinnakrit/mobile-native-lang
project_connection/mobile-native
AaronTheBruce/mobile-native
cormac.kantargis.hack/mobile-native
xthread/mobile-native
Paulnguyenun/mobile-native
lustigdev/mobile-native
GubbenOlsson/mobile-native
calvinoea/mobile-native
namesty/mobile-native
mrrobot16/mobile-native
eliobricenov/mobile-native
bedriguler/mobile-native
m994/mobile-native
threetoes/mobile-native
liangel/mobile-native
hosituan/mobile-native
nacef.otay/mobile-native
madibaa/mobile-native
valentin129/mobile-native
manishoo/mobile-native1
34 results
32389e01db34d3b233089198bafb75d7eea8f91d
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
(fix) comment vote counter is a string
· 067ece54
Martin Santangelo
authored
5 years ago
067ece54
Merge branch 'fix/comments-vote-counter' into release/3.11.0
· bb7275ee
Martin Santangelo
authored
5 years ago
bb7275ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/BaseModel.js
+2
-2
2 additions, 2 deletions
src/common/BaseModel.js
with
2 additions
and
2 deletions
src/common/BaseModel.js
View file @
bb7275ee
...
...
@@ -206,7 +206,7 @@ export default class BaseModel {
this
[
'
thumbs:
'
+
direction
+
'
:user_guids
'
]
=
[
sessionService
.
guid
,
...
guids
];
}
this
[
'
thumbs:
'
+
direction
+
'
:count
'
]
+
=
delta
;
this
[
'
thumbs:
'
+
direction
+
'
:count
'
]
=
parseInt
(
this
[
'
thumbs:
'
+
direction
+
'
:count
'
],
10
)
+
delta
;
const
params
=
this
.
getClientMetadata
();
...
...
@@ -220,7 +220,7 @@ export default class BaseModel {
}
else
{
this
[
'
thumbs:
'
+
direction
+
'
:user_guids
'
]
=
[
sessionService
.
guid
,
...
guids
];
}
this
[
'
thumbs:
'
+
direction
+
'
:count
'
]
-
=
delta
;
this
[
'
thumbs:
'
+
direction
+
'
:count
'
]
=
parseInt
(
this
[
'
thumbs:
'
+
direction
+
'
:count
'
],
10
)
-
delta
;
throw
err
;
}
}
...
...
This diff is collapsed.
Click to expand it.