Skip to content

Commit

Permalink
Merge pull request #139 from brown-ccv/fix-pdf
Browse files Browse the repository at this point in the history
fix: if pdf, open in new tab
  • Loading branch information
Ashley S. Lee authored Dec 13, 2023
2 parents ec972a3 + 5203251 commit 535d4e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/firebase-qa-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_QA_CCV_BROWN_EDU }}'
firebaseToolsVersion: 9.12.1
projectId: qa-ccv-brown-edu
expires: 7d
env:
Expand Down
1 change: 1 addition & 0 deletions components/blocks/FilesToCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
v-else
:to="link.target"
class="m-1 link-item d-button has-background-link has-text-white has-text-weight-semibold is-size-5 link-button"
:target="link.target.endsWith('.pdf') ? '_blank' : ''"
>
{{ link.text.toUpperCase() }}
<span class="icon ml-2">
Expand Down

0 comments on commit 535d4e1

Please sign in to comment.