Browse Source

Merge pull request #1261 from visuddhinanda/agile

res.data.match ? res.data.match : undefined,
visuddhinanda 2 years ago
parent
commit
5631723f92
1 changed files with 1 additions and 1 deletions
  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 {