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