Explorar o código

Merge pull request #1261 from visuddhinanda/agile

res.data.match ? res.data.match : undefined,
visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
5631723f92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/components/admin/relation/RelationEdit.tsx

+ 1 - 1
dashboard/src/components/admin/relation/RelationEdit.tsx

@@ -141,7 +141,7 @@ const RelationEditWidget = ({
                   fromCase: res.data.from?.case,
                   fromSpell: res.data.from?.spell,
                   to: res.data.to,
-                  match: res.data.match,
+                  match: res.data.match ? res.data.match : undefined,
                   category: res.data.category,
                 };
               } else {