Use toast not alert for bingo genearte msg.

This commit is contained in:
2021-05-21 17:01:15 +02:00
parent ea10f95a22
commit a44a2f5e2a
2 changed files with 4 additions and 9 deletions

View File

@@ -3,12 +3,7 @@
<banner :routes="routes" /> <banner :routes="routes" />
<router-view /> <router-view />
<Footer /> <Footer />
<UpdateToast <UpdateToast v-if="showToast" :text="toastText" :refreshButton="refreshToast" v-on:closeToast="closeToast" />
v-if="showToast"
:text="toastText"
:refreshButton="refreshToast"
v-on:closeToast="closeToast"
/>
</div> </div>
</template> </template>

View File

@@ -102,7 +102,7 @@ export default {
} }
if (new Set(this.colors).size == 1) { if (new Set(this.colors).size == 1) {
alert("BINGO"); this.$toast.info({ title: "BINGO" });
} }
this.emitColors(); this.emitColors();