Skip to content

Commit

Permalink
Fix: instance ticker
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Feb 21, 2024
1 parent a240609 commit a007832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/components/note-detailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<!-- <span class="localOnly" v-if="note.localOnly"><Fa :icon="faBiohazard"/></span> -->
</div>
<div class="username"><MkAcct :user="appearNote.user"/></div>
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="instance"/>
</div>
</header>
<div class="main">
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<MkAvatar class="avatar" :user="appearNote.user"/>
<div class="main">
<XNoteHeader class="header" :note="appearNote" :mini="true" :detail="detail"/>
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="instance"/>
<div class="body">
<p v-if="appearNote.cw != null" class="cw">
<Mfm v-if="appearNote.cw != '' && !isPlainMode" class="text" :text="appearNote.cw" :author="appearNote.user" :i="$i" :custom-emojis="appearNote.emojis" :no-sticker="true"/>
Expand Down

0 comments on commit a007832

Please sign in to comment.