mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Use selected button state on blame button
Summary: Visually selects the button if blame is on. Test Plan: Turn blame on and off in Diffusion on a file. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18504
This commit is contained in:
parent
3b43a70773
commit
67c658a7ed
1 changed files with 1 additions and 0 deletions
|
@ -730,6 +730,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
|||
->setText($blame_text)
|
||||
->setIcon($blame_icon)
|
||||
->setUser($viewer)
|
||||
->setSelected(!$blame_value)
|
||||
->setColor(PHUIButtonView::GREY);
|
||||
|
||||
if ($viewer->isLoggedIn()) {
|
||||
|
|
Loading…
Reference in a new issue