Update ToastMessage.vue

pull/3895/head
Clément 2023-04-24 19:08:51 +02:00 committed by GitHub
parent f76131aa26
commit 84c7573e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<div class="p-toast-detail">{{ message.detail }}</div>
</div>
</template>
<component v-else :is="templates.message" :message="message"></component>{{ message.closable }}
<component v-else :is="templates.message" :message="message"></component>
<div v-if="message.closable !== false">
<button v-ripple class="p-toast-icon-close p-link" type="button" :aria-label="closeAriaLabel" @click="onCloseClick" autofocus v-bind="closeButtonProps">
<component :is="templates.closeicon || 'TimesIcon'" :class="['p-toast-icon-close-icon', closeIcon]" />