fix: also replaced Salutation with Link field
This commit is contained in:
parent
e748c55e6b
commit
61fa0eb616
@ -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({})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user