fix(Notification): element renders even when no notification is present (#2561)

This commit is contained in:
kyyy
2024-11-09 17:24:13 +07:00
committed by GitHub
parent f3bf69c233
commit d4e408cfd8

View File

@@ -1,7 +1,7 @@
<template>
<Teleport to="body">
<div :class="wrapperClass" role="region" v-bind="attrs">
<div v-if="notifications.length" :class="ui.container">
<div v-if="notifications.length" :class="wrapperClass" role="region" v-bind="attrs">
<div :class="ui.container">
<div v-for="notification of notifications" :key="notification.id">
<UNotification
v-bind="notification"