perf: Only enrich with labels when no labels was prefetched
Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
This commit is contained in:
@@ -621,7 +621,9 @@ class BoardService {
|
||||
|
||||
if ($fullDetails) {
|
||||
$this->enrichWithStacks($board);
|
||||
$this->enrichWithLabels($board);
|
||||
if ($board->getLabels() === null) {
|
||||
$this->enrichWithLabels($board);
|
||||
}
|
||||
$this->enrichWithUsers($board);
|
||||
$this->enrichWithBoardSettings($board);
|
||||
$this->enrichWithActiveSessions($board);
|
||||
|
||||
Reference in New Issue
Block a user