mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 09:17:03 +00:00
Update PostComponent, fix MomentUI like counter
This commit is contained in:
parent
2e54643760
commit
42c6121ab9
1 changed files with 5 additions and 1 deletions
|
@ -323,7 +323,7 @@
|
|||
</div>
|
||||
<div class="like-count font-weight-bold mt-2 rounded border" style="cursor:pointer;" v-on:click="likesModal">
|
||||
|
||||
{{ownerOrAdmin() ? (status.liked_by.total_count + 1) : 0}}
|
||||
{{ownerOrAdmin == true ? (status.liked_by.total_count + 1) : 0}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
|
@ -898,6 +898,10 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
if(u.has('ui') && u.get('ui') == 'moment' && this.layout != 'moment') {
|
||||
this.layout = 'moment';
|
||||
}
|
||||
|
||||
if(forceMetro == true || u.has('ui') && u.get('ui') == 'metro' && this.layout != 'metro') {
|
||||
this.layout = 'metro';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue