diff options
Diffstat (limited to 'db/report.go')
-rw-r--r-- | db/report.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/report.go b/db/report.go index 52e303a..2e94ee6 100644 --- a/db/report.go +++ b/db/report.go @@ -110,6 +110,10 @@ func GetLocalReport(board string) (map[string]Reports, error) { col, _ := obj.GetCollectionFromPath() + if len(col.OrderedItems) == 0 { + continue + } + OP, _ := obj.GetOP() reported[r.ID] = Reports{ |