diff --git a/platform/signal.go b/platform/signal.go index bc918ccc..a05b9d46 100644 --- a/platform/signal.go +++ b/platform/signal.go @@ -229,7 +229,12 @@ func SignalList(ctx context.Context, user User, limit int) ([]*Signal, error) { row.Report = nil } else if row.Report.ID != 0 { row.Pool = nil - row.Report = report_map[row.Report.ID] + report, ok := report_map[row.Report.ID] + if !ok { + log.Debug().Int32("id", row.Report.ID).Msg("failed to got report") + continue + } + row.Report = report } if row.Address.Street == "" { row.Address = nil diff --git a/ts/components/PlanningColumnDetail.vue b/ts/components/PlanningColumnDetail.vue index e232a4f8..23c85fb4 100644 --- a/ts/components/PlanningColumnDetail.vue +++ b/ts/components/PlanningColumnDetail.vue @@ -42,16 +42,14 @@ Click signals from the left panel to select them -