refactor: hide nameEn
This commit is contained in:
parent
2fbf4edf36
commit
e2aa9caee9
1 changed files with 6 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ const props = defineProps<{
|
||||||
employee?: boolean;
|
employee?: boolean;
|
||||||
title?: string;
|
title?: string;
|
||||||
prefixId: string;
|
prefixId: string;
|
||||||
|
hideNameEn?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const prefixNameOptions = ref<Record<string, unknown>[]>([]);
|
const prefixNameOptions = ref<Record<string, unknown>[]>([]);
|
||||||
|
|
@ -210,7 +211,11 @@ watch(
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 row" style="display: flex; gap: var(--size-2)">
|
<div
|
||||||
|
v-if="!hideNameEn"
|
||||||
|
class="col-12 row"
|
||||||
|
style="display: flex; gap: var(--size-2)"
|
||||||
|
>
|
||||||
<q-input
|
<q-input
|
||||||
:for="`${prefixId}-input-first-name`"
|
:for="`${prefixId}-input-first-name`"
|
||||||
:dense="dense"
|
:dense="dense"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue