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
62937d9a
Commit
62937d9a
authored
Apr 14, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '327064-fix-revert-query' into 'master'
Fix revert commit query See merge request gitlab-org/gitlab!59356
parents
a6785099
356ae9af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/assets/javascripts/projects/commit/store/actions.js
app/assets/javascripts/projects/commit/store/actions.js
+2
-2
changelogs/unreleased/327064-fix-revert-query.yml
changelogs/unreleased/327064-fix-revert-query.yml
+5
-0
No files found.
app/assets/javascripts/projects/commit/store/actions.js
View file @
62937d9a
...
...
@@ -22,8 +22,8 @@ export const fetchBranches = ({ commit, dispatch, state }, query) => {
.
get
(
state
.
branchesEndpoint
,
{
params
:
{
search
:
query
},
})
.
then
(({
data
})
=>
{
commit
(
types
.
RECEIVE_BRANCHES_SUCCESS
,
data
.
Branches
||
[]
);
.
then
(({
data
=
[]
})
=>
{
commit
(
types
.
RECEIVE_BRANCHES_SUCCESS
,
data
.
Branches
?.
length
?
data
.
Branches
:
data
);
})
.
catch
(()
=>
{
createFlash
({
message
:
PROJECT_BRANCHES_ERROR
});
...
...
changelogs/unreleased/327064-fix-revert-query.yml
0 → 100644
View file @
62937d9a
---
title
:
Fix revert commit query
merge_request
:
59356
author
:
type
:
fixed
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