Fix slots-template issue in all dialog components

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:08 +02:00
parent b8f6bd49af
commit 13ea3e3c95
22 changed files with 309 additions and 251 deletions
+13 -12
View File
@@ -36,24 +36,25 @@ export default {
<template>
<Card ref="modal" name="modal" :show-highlight-border="false">
<h4
slot="title"
class="text-default-text"
>
{{ t('generic.tip') }}
</h4>
<template #title>
<h4 class="text-default-text">
{{ t('generic.tip') }}
</h4>
</template>
<template #body>
<p v-clean-html="t(modalData.contentKey)"></p>
</template>
<div slot="actions" class="actions">
<div class="buttons">
<button type="button" class="btn role-secondary mr-10" @click="ok">
{{ t('generic.ok') }}
</button>
<template #actions>
<div class="actions">
<div class="buttons">
<button type="button" class="btn role-secondary mr-10" @click="ok">
{{ t('generic.ok') }}
</button>
</div>
</div>
</div>
</template>
</Card>
</template>