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
a8028c6d
Commit
a8028c6d
authored
Apr 14, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
7ad99174
62937d9a
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 @
a8028c6d
...
...
@@ -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 @
a8028c6d
---
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