Skip to content

Commit

Permalink
Implement star display on PostItem for bookmarked posts
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Mar 10, 2024
1 parent 623f04a commit 6dbc738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/misc/PostItem.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<article v-if="![postId, post].includes()" :class="{ selected: marks.selected }">
<div class="postDetails">
<img v-if="marks.bookmarked" class="icon pre-icon" src="@/assets/icons/star.svg" />
<img v-if="props.pinned" class="icon pre-icon" src="@/assets/icons/push_pin.svg" />
<img v-if="post.modifiers?.includes('sage')" class="icon pre-icon" src="@/assets/icons/down.svg" />
<a class="refLink" @click="handleRefLinkClick">
Expand Down

0 comments on commit 6dbc738

Please sign in to comment.