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
+16 -12
View File
@@ -83,6 +83,7 @@ export default {
<template #title>
{{ t('harvester.modal.volumeClone.title') }}
</template>
<template #body>
<Checkbox v-model:value="cloneData" class="mb-10" label-key="harvester.modal.cloneVM.type" />
@@ -94,19 +95,22 @@ export default {
required
/>
</template>
<div slot="actions" class="actions">
<div class="buttons">
<button class="btn role-secondary mr-10" @click="close">
{{ t('generic.cancel') }}
</button>
<AsyncButton
mode="create"
:disabled="disableSave"
@click="save"
/>
<template #actions>
<div class="actions">
<div class="buttons">
<button class="btn role-secondary mr-10" @click="close">
{{ t('generic.cancel') }}
</button>
<AsyncButton
mode="create"
:disabled="disableSave"
@click="save"
/>
</div>
<Banner v-for="(err, i) in errors" :key="i"/>
</div>
<Banner v-for="(err, i) in errors" :key="i"/>
</div>
</template>
</Card>
</template>
<style lang="scss" scoped>