Skip to content

Commit

Permalink
PB-1031: redirect github link to release page
Browse files Browse the repository at this point in the history
Github link now leads to the release notes
  • Loading branch information
ltkum committed Jan 21, 2025
1 parent d9b3be2 commit d6d0fcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/staging.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const APP_VERSION = __APP_VERSION__
* @type {String}
*/

export const GITHUB_REPOSITORY = 'https://github.com/geoadmin/web-mapviewer'
export const GITHUB_REPOSITORY = 'https://github.com/geoadmin/web-mapviewer/releases/tag/'
/**
* Display a big development banner on all but these hosts.
*
Expand Down
3 changes: 2 additions & 1 deletion src/utils/components/AppVersion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const appVersion = ref(APP_VERSION)
const isProd = computed(() => store.getters.isProductionSite)
function openGithubLink() {
window.open(GITHUB_REPOSITORY, '_blank')
window.open(GITHUB_REPOSITORY + APP_VERSION, '_blank')
}
</script>

Expand All @@ -32,6 +32,7 @@ function openGithubLink() {
.app-version {
color: $gray-800;
word-spacing: 3px;
cursor: pointer;
}
Expand Down

0 comments on commit d6d0fcf

Please sign in to comment.