1
0
forked from test/crm

chore: show --- for empty values in autocomplete

This commit is contained in:
Shariq Ansari 2023-11-08 17:22:17 +05:30
parent 016ba890ca
commit 7dbeb23728

View File

@ -29,7 +29,7 @@ export const organizationsStore = defineStore('crm-organizations', () => {
function getOrganizationOptions() {
return [
{ label: '', value: '' },
{ label: '---', value: '' },
...organizations.data?.map((org) => ({
label: org.name,
value: org.name,