feat(web): pull request files can be marked as viewed (#7721)
Signed-off-by: Yordis Prieto <[email protected]> Co-authored-by: maria <[email protected]>
This commit is contained in:
1 parent
8db3c250f4
commit
03950089ff
67 files changed
+9014
-200
No files matched your search
@@ -77,11 +77,11 @@ function encodeAzureDevOpsPathSegment(segment: string): string {
|
||||
}
|
||||
|
||||
/**
|
||||
* The organization root a REST url belongs to, which is where a browser url and any further
|
||||
* REST call have to be hung. Exported because the pull requests page derives its own urls from
|
||||
* whatever Azure returned rather than from the local remote, whose shape varies.
|
||||
* The organization root a REST url belongs to, which is where a browser url has to be hung when
|
||||
* Azure answered with neither a web link nor a repository url. Read from what Azure returned
|
||||
* rather than from the local remote, whose shape varies.
|
||||
*/
|
||||
export function azureDevOpsOrganizationBaseFromRestApiUrl(
|
||||
function azureDevOpsOrganizationBaseFromRestApiUrl(
|
||||
value: string | null | undefined,
|
||||
): string | null {
|
||||
const rawUrl = trimOptionalString(value);
|
||||
|
||||
Reference in new issue
Block a user