fix some warnings
This commit is contained in:
parent
de9952ca3e
commit
71592bdfc1
2 changed files with 3 additions and 3 deletions
|
@ -56,10 +56,10 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$eventHub.$on("askForConfirmationToDeleteSelectedDecks", () => {
|
this.$eventHub.$on("askForConfirmationToDeleteSelectedDecks", () => {
|
||||||
this.$refs.confirmDelete.show();
|
if (this.$refs.confirmDelete) this.$refs.confirmDelete.show();
|
||||||
});
|
});
|
||||||
this.$eventHub.$on("showInfoForSelectedDeck", () => {
|
this.$eventHub.$on("showInfoForSelectedDeck", () => {
|
||||||
this.$refs.info.show();
|
if (this.$refs.info) this.$refs.info.show();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -59,7 +59,7 @@ Morbi tempor quis justo vitae imperdiet.`,
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$eventHub.$on("askForConfirmationToQuitLearning", () => {
|
this.$eventHub.$on("askForConfirmationToQuitLearning", () => {
|
||||||
this.$refs.confirmQuit.show();
|
if (this.$refs.confirmQuit) this.$refs.confirmQuit.show();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
beforeMount() {
|
beforeMount() {
|
||||||
|
|
Loading…
Reference in a new issue