Skip to content

Commit 7f8d919

Browse files
committed
fix(ContentSearch/DashboardSearch): make ui.modal work
Follow-up nuxt/ui-pro#1222
1 parent c2c1c26 commit 7f8d919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/components/DashboardSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ defineExpose({
182182
v-model:open="open"
183183
:title="t('dashboardSearch.title')"
184184
:description="t('dashboardSearch.description')"
185-
:class="ui.modal({ class: props.class })"
185+
:class="ui.modal({ class: [props.ui?.modal, props.class] })"
186186
>
187187
<template #content>
188188
<slot name="content">

src/runtime/components/content/ContentSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ defineExpose({
269269
v-model:open="open"
270270
:title="t('contentSearch.title')"
271271
:description="t('contentSearch.description')"
272-
:class="ui.modal({ class: props.class })"
272+
:class="ui.modal({ class: [props.ui?.modal, props.class] })"
273273
>
274274
<template #content>
275275
<slot name="content">

0 commit comments

Comments
 (0)