Skip to content

Commit

Permalink
DOP-5251: update projects route to include offline download url (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark authored Jan 7, 2025
1 parent 31e0203 commit c0da9a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ DOP-NNNN

### Notes



### README updates

- - [ ] This PR introduces changes that should be reflected in the README, and I have made those updates.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
lint-and-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
3 changes: 3 additions & 0 deletions src/services/pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ interface BranchEntry {
urlAliases: string[];
isStableBranch: boolean;
versionSelectorLabel: string;
urlSlug: string;
offlineUrl?: string;
[key: string]: any;
}

Expand Down Expand Up @@ -140,6 +142,7 @@ const mapBranches = (branches: BranchEntry[], fullBaseUrl: string) => {
fullUrl: getBranchFullUrl(branchEntry, fullBaseUrl, branches.length > 1),
label: branchEntry.versionSelectorLabel,
isStableBranch: !!branchEntry.isStableBranch,
offlineUrl: branchEntry.offlineUrl,
}));
};

Expand Down

0 comments on commit c0da9a5

Please sign in to comment.