Merge pull request #3895 from clemvnt/master

Fix toast message template
pull/3913/head
Tuğçe Küçükoğlu 2023-04-25 10:25:43 +03:00 committed by GitHub
commit b4cf56a714
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 class="p-toast-detail">{{ message.detail }}</div>
</div> </div>
</template> </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"> <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"> <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]" /> <component :is="templates.closeicon || 'TimesIcon'" :class="['p-toast-icon-close-icon', closeIcon]" />