Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Mar 23, 2023
1 parent 15034ea commit 051fcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tftf.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default {
const urlDeck = urlParams.get('deck');
var deck = urlDeck && Object.keys(all_decks).indexOf(urlDeck) > -1 ? urlDeck : 'all';
console.log(deck)
this.msg = deck['title'].replaceAll('-', ' ')
this.msg = all_decks[deck]['title'] ? all_decks[deck]['title'].replaceAll('-', ' ') : '';
vue.cards = all_decks[deck]['rows'];
var objectcards = []
var terraincards = []
Expand Down

0 comments on commit 051fcec

Please sign in to comment.