fix: a bug in ads

This commit is contained in:
yawhn 2023-03-21 22:55:21 +02:00 committed by ThatOneCalculator
parent 3a412b955d
commit 25c72943c7
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -1,5 +1,12 @@
<template>
<div v-if="chosen && defaultStore.state.showAds" class="qiivuoyo">
<div v-if="chosen && chosen.length > 0 && defaultStore.state.showAds" v-for="chosenItem in chosen" class="qiivuoyo">
<div v-if="!showMenu" class="main" :class="chosenItem.place">
<a :href="chosenItem.url" target="_blank">
<img :src="chosenItem.imageUrl">
</a>
</div>
</div>
<div v-else-if="chosen && defaultStore.state.showAds" class="qiivuoyo">
<div v-if="!showMenu" class="main" :class="chosen.place">
<a :href="chosen.url" target="_blank">
<img :src="chosen.imageUrl">