fix: also replaced Salutation with Link field

This commit is contained in:
Shariq Ansari 2023-11-13 17:08:23 +05:30
parent e748c55e6b
commit 61fa0eb616

View File

@ -16,12 +16,13 @@
>
<template #body-content>
<div class="flex flex-col gap-4">
<FormControl
type="text"
size="md"
<Link
variant="outline"
size="md"
label="Salutation"
v-model="_contact.salutation"
doctype="Salutation"
placeholder="Mr./Mrs./Ms..."
/>
<div class="flex gap-4">
<FormControl
@ -77,7 +78,6 @@ import Link from '@/components/Controls/Link.vue'
import { FormControl, Dialog, call } from 'frappe-ui'
import { ref, defineModel, nextTick, watch, computed } from 'vue'
import { useRouter } from 'vue-router'
import { organizationsStore } from '@/stores/organizations'
const props = defineProps({
contact: {
@ -97,8 +97,6 @@ const router = useRouter()
const show = defineModel()
const contacts = defineModel('reloadContacts')
const { organizations } = organizationsStore()
const editMode = ref(false)
let _contact = ref({})