Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Megageorgio committed Oct 16, 2024
1 parent 16307d3 commit c2dc8e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function toggleDark() {
}
function isStandalone() {
return true
return window.matchMedia('(display-mode: standalone)').matches
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/[user]/[repository].vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function handleHide() {
const currentLanguageDetails = computed(() => {
const details = data.value.details[settingsStore.language] || data.value.details.en
details.generalInfoTable = details.generalInfo.map((row: string) => row.split(':'))
details.termsOfUseTable = details.termsOfUse.map((row: string) => row.split(':'))
details.generalInfoTable = details.generalInfo?.map((row: string) => row.split(':')) ?? []
details.termsOfUseTable = details.termsOfUse?.map((row: string) => row.split(':')) ?? []
return details
})
Expand Down

0 comments on commit c2dc8e2

Please sign in to comment.