Commit 5794bfc0 authored by Natalia Tepluhina's avatar Natalia Tepluhina Committed by Nicolò Maria Mezzopera

Resolve ""No boards found" message showing when loading boards"

parent 40952ad9
......@@ -112,7 +112,7 @@ export default {
return this.groupId ? 'group' : 'project';
},
loading() {
return this.loadingRecentBoards && this.loadingBoards;
return this.loadingRecentBoards || Boolean(this.loadingBoards);
},
currentPage() {
return this.state.currentPage;
......
---
title: Resolve No boards found message showing when loading boards
merge_request: 50140
author:
type: fixed
......@@ -126,7 +126,10 @@ describe('BoardsSelector', () => {
});
describe('loaded', () => {
beforeEach(() => {
beforeEach(async () => {
await wrapper.setData({
loadingBoards: false,
});
return Promise.all([allBoardsResponse, recentBoardsResponse]).then(() => nextTick());
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment