field conditions

This commit is contained in:
Pete Matsyburka
2025-02-02 21:36:38 +02:00
parent fa74ee1755
commit 54426556d9
4 changed files with 58 additions and 17 deletions
@@ -177,7 +177,7 @@ export default {
fields () {
if (this.item.submitter_uuid) {
return this.template.fields.reduce((acc, f) => {
if (f !== this.item && f.submitter_uuid === this.item.submitter_uuid) {
if (f !== this.item) {
acc.push(f)
}