* avatar content-type fix

* team default empty values are empty array
* page caches only updated if there is actually a filter id set for the team
This commit is contained in:
Dávid Danyi
2018-09-06 16:37:37 +02:00
parent 9563eae0b1
commit 65098ee587
3 changed files with 9 additions and 4 deletions

View File

@@ -377,8 +377,8 @@ class Team implements JsonSerializable
return [
'id' => $this->getId(),
'name' => $this->getName(),
'members' => $this->getMembers(),
'labels' => $this->getLabels(),
'members' => $this->getMembers() ?? [],
'labels' => $this->getLabels() ?? [],
'filterId' => $this->getFilterId(),
'backlogColumn' => $this->getBacklogColumn() ?? new KanbanColumn(),
'inprogressColumn' => $this->getInprogressColumn() ?? new KanbanColumn(),