From 1000bdb2ca1e55de9bb7167ad97368b692a861fd Mon Sep 17 00:00:00 2001 From: mo Date: Thu, 28 Apr 2022 08:42:58 -0500 Subject: [PATCH] wee Signed-off-by: mo --- plugins/azure-devops/src/api/AzureDevOpsApi.ts | 6 ++++++ .../azure-devops/src/components/GitTagTable/GitTagTable.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/azure-devops/src/api/AzureDevOpsApi.ts b/plugins/azure-devops/src/api/AzureDevOpsApi.ts index 09b48356c8..63e6dc3125 100644 --- a/plugins/azure-devops/src/api/AzureDevOpsApi.ts +++ b/plugins/azure-devops/src/api/AzureDevOpsApi.ts @@ -38,6 +38,12 @@ export interface AzureDevOpsApi { options?: RepoBuildOptions, ): Promise<{ items: RepoBuild[] }>; + getGitTags( + projectName: string, + repoName: string, + options?: PullRequestOptions, + ): Promise<{ items: PullRequest[] }>; + getPullRequests( projectName: string, repoName: string, diff --git a/plugins/azure-devops/src/components/GitTagTable/GitTagTable.tsx b/plugins/azure-devops/src/components/GitTagTable/GitTagTable.tsx index b281cd0759..9d7d7db07f 100644 --- a/plugins/azure-devops/src/components/GitTagTable/GitTagTable.tsx +++ b/plugins/azure-devops/src/components/GitTagTable/GitTagTable.tsx @@ -124,7 +124,7 @@ export const GitTagTable = ({ defaultLimit }: PullRequestTableProps) => { - Azure Repos - Pull Requests ({items ? items.length : 0}) + Azure Repos - Git Tags ({items ? items.length : 0})