1
0
forked from test/crm

fix: convert to deal modals's convert button

(cherry picked from commit 25d9d562e6b150d94ba1b3065945fd0c12f10c43)
This commit is contained in:
Shariq Ansari 2025-08-19 11:53:28 +05:30 committed by Mergify
parent 4c809a9166
commit bc0ca74f88

View File

@ -1,17 +1,5 @@
<template>
<Dialog
v-model="show"
:options="{
size: 'xl',
actions: [
{
label: __('Convert'),
variant: 'solid',
onClick: convertToDeal,
},
],
}"
>
<Dialog v-model="show" :options="{ size: 'xl' }">
<template #body-header>
<div class="mb-6 flex items-center justify-between">
<div>
@ -90,6 +78,11 @@
/>
<ErrorMessage class="mt-4" :message="error" />
</template>
<template #actions>
<div class="flex justify-end">
<Button :label="__('Convert')" variant="solid" @click="convertToDeal" />
</div>
</template>
</Dialog>
</template>
<script setup>