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
a1848c8b
Commit
a1848c8b
authored
May 30, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
8b0167ef
1ba1df9c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
2 deletions
+17
-2
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+1
-0
app/assets/javascripts/boards/components/sidebar/remove_issue.vue
...ts/javascripts/boards/components/sidebar/remove_issue.vue
+1
-1
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+1
-1
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+4
-0
spec/javascripts/boards/boards_store_spec.js
spec/javascripts/boards/boards_store_spec.js
+10
-0
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
a1848c8b
...
...
@@ -38,6 +38,7 @@ gitlab:assets:compile:
-
bundle exec rake gitlab:assets:compile
-
time scripts/build_assets_image
-
scripts/clean-old-cached-assets
-
rm -f /etc/apt/sources.list.d/google*.list
# We don't need to update Chrome here
# Play dependent manual jobs
-
install_api_client_dependencies_with_apt
-
play_job "review-build-cng" ||
true
# this job might not exist so ignore the failure if it cannot be played
...
...
app/assets/javascripts/boards/components/sidebar/remove_issue.vue
View file @
a1848c8b
...
...
@@ -48,7 +48,7 @@ export default Vue.extend({
list
.
removeIssue
(
issue
);
});
boardsStore
.
detail
.
issue
=
{}
;
boardsStore
.
clearDetailIssue
()
;
},
/**
* Build the default patch request.
...
...
app/assets/javascripts/boards/index.js
View file @
a1848c8b
...
...
@@ -180,7 +180,7 @@ export default () => {
boardsStore
.
detail
.
issue
=
newIssue
;
},
clearDetailIssue
()
{
boardsStore
.
detail
.
issue
=
{}
;
boardsStore
.
clearDetailIssue
()
;
},
toggleSubscription
(
id
)
{
const
{
issue
}
=
boardsStore
.
detail
;
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
a1848c8b
...
...
@@ -188,6 +188,10 @@ const boardsStore = {
updateFiltersUrl
()
{
window
.
history
.
pushState
(
null
,
null
,
`?
${
this
.
filter
.
path
}
`
);
},
clearDetailIssue
()
{
this
.
detail
.
issue
=
{};
},
};
BoardsStoreEE
.
initEESpecific
(
boardsStore
);
...
...
spec/javascripts/boards/boards_store_spec.js
View file @
a1848c8b
...
...
@@ -268,4 +268,14 @@ describe('Store', () => {
});
});
});
describe
(
'
clearDetailIssue
'
,
()
=>
{
it
(
'
resets issue details
'
,
()
=>
{
boardsStore
.
detail
.
issue
=
'
something
'
;
boardsStore
.
clearDetailIssue
();
expect
(
boardsStore
.
detail
.
issue
).
toEqual
({});
});
});
});
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