Skip to content

Commit a29af94

Browse files
committed
exclude decommissioned ns
1 parent 97bee65 commit a29af94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/org-groups/namespace.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ export class NamespaceService {
156156
const matches = namespaceGroups
157157
.filter(
158158
(group) =>
159-
'org' in group.attributes && group.attributes['org'][0] === org
159+
'org' in group.attributes && group.attributes['org'][0] === org &&
160+
!('decommissioned' in group.attributes)
160161
)
161162
.map((group) => ({
162163
name: group.name,

0 commit comments

Comments
 (0)