Fix advanced rendering, ads showing over modals (#3029)

This commit is contained in:
Geometrically
2024-12-14 21:36:00 -07:00
committed by GitHub
parent ca7cfb30c7
commit 217b5700a2
8 changed files with 53 additions and 41 deletions

View File

@@ -21,8 +21,11 @@ const props = defineProps({
return () => {}
},
},
showAdOnClose: {
type: Boolean,
default: true,
},
})
const modal = ref(null)
defineExpose({
@@ -37,7 +40,9 @@ defineExpose({
})
function onModalHide() {
show_ads_window()
if (props.showAdOnClose) {
show_ads_window()
}
props.onHide()
}
</script>