Skip to content

Commit

Permalink
DOP-4549 re add inactive label
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed May 1, 2024
1 parent 207d1d7 commit 7e3ace6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/handlers/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export async function buildEntitledGroupsList(entitlement: any, repoBranchesRepo
const repoPath = `${repoOwner}/${repoName}/${branchName}`;
let txt: string;
if (!active) {
txt = `(!inactive) ${branchName}`;
txt = `(!inactive) ${repoPath}`;
} else {
txt = branchName;
txt = repoPath;
}
options.push({
text: {
type: 'plain_text',
text: repoPath,
text: txt,
},
value: repoPath,
});
Expand Down

0 comments on commit 7e3ace6

Please sign in to comment.