Changed users to profiles in projects
This commit is contained in:
@@ -303,7 +303,7 @@ const invoiceDeliveryNotes = () => {
|
|||||||
<UCard class="mt-3">
|
<UCard class="mt-3">
|
||||||
<h1 class="font-bold text-lg mb-3">Beteiligte Benutzer:</h1>
|
<h1 class="font-bold text-lg mb-3">Beteiligte Benutzer:</h1>
|
||||||
<UAlert
|
<UAlert
|
||||||
v-for="projectUser in itemInfo.users"
|
v-for="projectUser in itemInfo.profiles"
|
||||||
:avatar="{ alt: dataStore.getProfileById(projectUser).fullName }"
|
:avatar="{ alt: dataStore.getProfileById(projectUser).fullName }"
|
||||||
:title="dataStore.getProfileById(projectUser).fullName"
|
:title="dataStore.getProfileById(projectUser).fullName"
|
||||||
class="mb-3"
|
class="mb-3"
|
||||||
@@ -643,7 +643,7 @@ const invoiceDeliveryNotes = () => {
|
|||||||
label="Beteiligte Benutzer:"
|
label="Beteiligte Benutzer:"
|
||||||
>
|
>
|
||||||
<USelectMenu
|
<USelectMenu
|
||||||
v-model="itemInfo.users"
|
v-model="itemInfo.profiles"
|
||||||
:options="dataStore.profiles"
|
:options="dataStore.profiles"
|
||||||
option-attribute="fullName"
|
option-attribute="fullName"
|
||||||
value-attribute="id"
|
value-attribute="id"
|
||||||
@@ -652,7 +652,7 @@ const invoiceDeliveryNotes = () => {
|
|||||||
:search-attributes="['fullName']"
|
:search-attributes="['fullName']"
|
||||||
>
|
>
|
||||||
<template #label>
|
<template #label>
|
||||||
{{itemInfo.users.length > 0 ? itemInfo.users.map(i => dataStore.getProfileById(i).fullName).join(", ") : "Kein Benutzer ausgewählt"}}
|
{{itemInfo.profiles.length > 0 ? itemInfo.profiles.map(i => dataStore.getProfileById(i).fullName).join(", ") : "Kein Benutzer ausgewählt"}}
|
||||||
</template>
|
</template>
|
||||||
</USelectMenu>
|
</USelectMenu>
|
||||||
</UFormGroup>
|
</UFormGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user