mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 19:00:35 +01:00
fix(Notification): element renders even when no notification is present (#2561)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Teleport to="body">
|
<Teleport to="body">
|
||||||
<div :class="wrapperClass" role="region" v-bind="attrs">
|
<div v-if="notifications.length" :class="wrapperClass" role="region" v-bind="attrs">
|
||||||
<div v-if="notifications.length" :class="ui.container">
|
<div :class="ui.container">
|
||||||
<div v-for="notification of notifications" :key="notification.id">
|
<div v-for="notification of notifications" :key="notification.id">
|
||||||
<UNotification
|
<UNotification
|
||||||
v-bind="notification"
|
v-bind="notification"
|
||||||
|
|||||||
Reference in New Issue
Block a user