refactor: allow dialog without description
This commit is contained in:
1 parent
ca70e4d888
commit
383448961b
1 file changed
+1
-1
@@ -59,7 +59,7 @@ onBeforeUnmount(() => {
|
||||
>
|
||||
<NScrollbar class="dialog-body-scroll" :style="{ maxHeight: bodyMaxHeight + 'px' }">
|
||||
<span ref="bodyAnchor" class="dialog-body-anchor" aria-hidden="true" />
|
||||
<p class="text-sm leading-6 text-muted">{{ description }}</p>
|
||||
<p v-if="description" class="text-sm leading-6 text-muted">{{ description }}</p>
|
||||
<slot />
|
||||
</NScrollbar>
|
||||
<template v-if="$slots.footer" #footer>
|
||||
|
||||
Reference in new issue
Block a user