mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 20:23:06 +00:00
fix issue when adding a list for the first time
This commit is contained in:
parent
a7b018cf5b
commit
af4da6f292
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export default {
|
|||
const { lists } = this.board;
|
||||
|
||||
if (lists.length === 0) {
|
||||
return this.$bvModal.show('add-list');
|
||||
this.$bvModal.show('add-list');
|
||||
}
|
||||
|
||||
const boardGames = Array.from(new Set(lists.map(({ games }) => games).flat()));
|
||||
|
|
Loading…
Reference in a new issue