fix background empty / resetCallback - refactor pet methods/components

This commit is contained in:
negue
2018-10-24 20:43:15 +02:00
parent 16256ee190
commit 3c5025a78e
4 changed files with 17 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
<template lang="pug">
b-modal#hatching-modal(@change="resetHatchablePet($event)")
b-modal#hatching-modal()
div.content(v-if="hatchablePet")
div.potionEggGroup
div.potionEggBackground
@@ -73,12 +73,5 @@ export default {
}),
};
},
methods: {
resetHatchablePet ($event) {
if (!$event) {
this.hatchablePet = null;
}
},
},
};
</script>