fix issue when adding a list for the first time

This commit is contained in:
Gamebrary 2020-08-22 11:58:44 -07:00
parent a7b018cf5b
commit af4da6f292

View file

@ -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()));