Skip to content

Commit d4e408c

Browse files
authoredNov 9, 2024··
fix(Notification): element renders even when no notification is present (#2561)
1 parent f3bf69c commit d4e408c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/runtime/components/overlays/Notifications.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<Teleport to="body">
3-
<div :class="wrapperClass" role="region" v-bind="attrs">
4-
<div v-if="notifications.length" :class="ui.container">
3+
<div v-if="notifications.length" :class="wrapperClass" role="region" v-bind="attrs">
4+
<div :class="ui.container">
55
<div v-for="notification of notifications" :key="notification.id">
66
<UNotification
77
v-bind="notification"

0 commit comments

Comments
 (0)
Please sign in to comment.