Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fixed report icons on version page when logged out (#1416) (#1417)
Browse files Browse the repository at this point in the history
  • Loading branch information
gBasil authored Oct 25, 2023
1 parent c471b6d commit 85f639b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/[type]/[id]/version/[version].vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@
<DownloadIcon aria-hidden="true" />
Download
</a>
<button class="iconified-button" @click="$refs.modal_version_report.show()">
<ReportIcon aria-hidden="true" />
Report
</button>
<nuxt-link v-if="!auth.user" class="iconified-button" to="/auth/sign-in">
<ReportIcon aria-hidden="true" />
Report
</nuxt-link>
<button v-else class="iconified-button" @click="$refs.modal_version_report.show()">
<ReportIcon aria-hidden="true" />
Report
</button>
<nuxt-link
v-if="currentMember"
class="action iconified-button"
Expand Down

0 comments on commit 85f639b

Please sign in to comment.