Skip to content

Commit

Permalink
Merge pull request #67 from nadesskey/fix/semi-public-renote-icon
Browse files Browse the repository at this point in the history
Fix: Semi-Public renote icon not showing
  • Loading branch information
tai-cha authored Dec 27, 2024
2 parents 1d6bde3 + 4f4cd28 commit 7994fd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/frontend/src/components/MkNote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ SPDX-License-Identifier: AGPL-3.0-only
<i class="ti ti-dots" :class="$style.renoteMenu"></i>
<MkTime :time="note.createdAt"/>
</button>
<span v-if="note.visibility !== 'public'" style="margin-left: 0.5em;" :title="i18n.ts._visibility[note.visibility]">
<span v-if="note.visibility === 'public' && note.dontShowOnLtl === true" style="margin-left: 0.5em;" :title="i18n.ts._visibility['public_non_ltl']">
<i class="ti ti-broadcast"></i>
</span>
<span v-else-if="note.visibility !== 'public'" style="margin-left: 0.5em;" :title="i18n.ts._visibility[note.visibility]">
<i v-if="note.dontShowOnLtl === true" class="ti ti-broadcast"></i>
<i v-if="note.visibility === 'home'" class="ti ti-home"></i>
<i v-else-if="note.visibility === 'followers'" class="ti ti-lock"></i>
Expand Down

0 comments on commit 7994fd8

Please sign in to comment.