Merge pull request #7336 from jhoermann/patch-1

Fix: Make message detail optional in toast message
pull/7398/head
Tuğçe Küçükoğlu 2025-03-07 11:39:05 +03:00 committed by GitHub
commit 67fbcb8273
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<component :is="templates.messageicon ? templates.messageicon : templates.icon ? templates.icon : iconComponent && iconComponent.name ? iconComponent : 'span'" :class="cx('messageIcon')" v-bind="ptm('messageIcon')" />
<div :class="cx('messageText')" v-bind="ptm('messageText')">
<span :class="cx('summary')" v-bind="ptm('summary')">{{ message.summary }}</span>
<div :class="cx('detail')" v-bind="ptm('detail')">{{ message.detail }}</div>
<div v-if="message.detail" :class="cx('detail')" v-bind="ptm('detail')">{{ message.detail }}</div>
</div>
</template>
<component v-else :is="templates.message" :message="message"></component>