Skip to content

Commit

Permalink
fix(nc-gui): update prefill form labels
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkPhoenix2704 committed Mar 13, 2024
1 parent 8bddb2a commit feae32a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,13 +424,14 @@ const openManageAccess = async () => {
>
<a-select-option
v-for="op of Object.values(PreFilledMode).map((v) => {
return { label: v, value: v }
return { label: $t(`activity.preFilledFields.${v}`), value: v }
})"
:key="op.value"
:value="op.value"
>
<div class="flex items-center w-full justify-between w-full gap-2">
<div class="truncate flex-1 capitalize">{{ op.value }}</div>
<div class="truncate flex-1 capitalize">{{ op.label }}</div>
<component
:is="iconMap.check"
v-if="formPreFill.preFilledMode === op.value"
Expand Down

0 comments on commit feae32a

Please sign in to comment.