flyzto пре 2 недеља
родитељ
комит
4a7f1f9094
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      web/apps/web-antd/src/views/match/components/solution_item.vue

+ 1 - 1
web/apps/web-antd/src/views/match/components/solution_item.vue

@@ -200,7 +200,7 @@ const currentRelation = computed(() => {
   const dateTime = dayjs(timestamp).format('YYYY-MM-DD HH:mm:ss');
   const relation = { leagueName, timestamp, dateTime, stage, retime, score };
   Object.keys(rel).forEach(platform => {
-    const { eventId, teamHomeName, teamAwayName, events, special } = rel[platform];
+    const { eventId, teamHomeName, teamAwayName, events, special } = rel[platform] ?? {};
     if (!relation.rel) {
       relation.rel = {};
     }