소스 검색

res.data.match ? res.data.match : undefined,

visuddhinanda 2 년 전
부모
커밋
4fb5965762
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {