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
5794bfc0
Commit
5794bfc0
authored
Dec 16, 2020
by
Natalia Tepluhina
Committed by
Nicolò Maria Mezzopera
Dec 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve ""No boards found" message showing when loading boards"
parent
40952ad9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
app/assets/javascripts/boards/components/boards_selector.vue
app/assets/javascripts/boards/components/boards_selector.vue
+1
-1
changelogs/unreleased/293960-no-boards-found-message-showing-when-loading-boards.yml
...0-no-boards-found-message-showing-when-loading-boards.yml
+5
-0
spec/frontend/boards/components/boards_selector_spec.js
spec/frontend/boards/components/boards_selector_spec.js
+4
-1
No files found.
app/assets/javascripts/boards/components/boards_selector.vue
View file @
5794bfc0
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
return
this
.
groupId
?
'
group
'
:
'
project
'
;
return
this
.
groupId
?
'
group
'
:
'
project
'
;
},
},
loading
()
{
loading
()
{
return
this
.
loadingRecentBoards
&&
this
.
loadingBoards
;
return
this
.
loadingRecentBoards
||
Boolean
(
this
.
loadingBoards
)
;
},
},
currentPage
()
{
currentPage
()
{
return
this
.
state
.
currentPage
;
return
this
.
state
.
currentPage
;
...
...
changelogs/unreleased/293960-no-boards-found-message-showing-when-loading-boards.yml
0 → 100644
View file @
5794bfc0
---
title
:
Resolve No boards found message showing when loading boards
merge_request
:
50140
author
:
type
:
fixed
spec/frontend/boards/components/boards_selector_spec.js
View file @
5794bfc0
...
@@ -126,7 +126,10 @@ describe('BoardsSelector', () => {
...
@@ -126,7 +126,10 @@ describe('BoardsSelector', () => {
});
});
describe
(
'
loaded
'
,
()
=>
{
describe
(
'
loaded
'
,
()
=>
{
beforeEach
(()
=>
{
beforeEach
(
async
()
=>
{
await
wrapper
.
setData
({
loadingBoards
:
false
,
});
return
Promise
.
all
([
allBoardsResponse
,
recentBoardsResponse
]).
then
(()
=>
nextTick
());
return
Promise
.
all
([
allBoardsResponse
,
recentBoardsResponse
]).
then
(()
=>
nextTick
());
});
});
...
...
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