Page MenuHomePhabricator

D15297.diff
No OneTemporary

D15297.diff

diff --git a/src/applications/phid/view/PHUIHandleTagListView.php b/src/applications/phid/view/PHUIHandleTagListView.php
--- a/src/applications/phid/view/PHUIHandleTagListView.php
+++ b/src/applications/phid/view/PHUIHandleTagListView.php
@@ -52,6 +52,13 @@
protected function getTagContent() {
$handles = $this->handles;
+ // Remove any archived projects from the list.
+ foreach ($handles as $key => $handle) {
+ if ($handle->getStatus() == PhabricatorObjectHandle::STATUS_CLOSED) {
+ unset($handles[$key]);
+ }
+ }
+
// If the list is empty, we may render a "No Projects" tag.
if (!$handles) {
if (strlen($this->noDataString)) {

File Metadata

Mime Type
text/plain
Expires
Wed, May 8, 9:51 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6264750
Default Alt Text
D15297.diff (686 B)

Event Timeline