mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
Have milestones inherit colors from parent projects
Summary: Fixes T10737. I agree that this is a better behavior than always making them blue (boring). Test Plan: what {F1208333} wut Reviewers: hach-que, chad Reviewed By: chad Maniphest Tasks: T10737 Differential Revision: https://secure.phabricator.com/D15643
This commit is contained in:
parent
2ae8e57cf1
commit
ded0344745
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ final class PhabricatorProject extends PhabricatorProjectDAO
|
|||
|
||||
public function getDisplayColor() {
|
||||
if ($this->isMilestone()) {
|
||||
return PhabricatorProjectIconSet::getDefaultColorKey();
|
||||
return $this->getParentProject()->getColor();
|
||||
}
|
||||
|
||||
return $this->getColor();
|
||||
|
|
Loading…
Reference in a new issue