Fix isBoost computed property

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1647/head
Louis Chemineau 2023-03-13 13:22:37 +01:00
rodzic 34ad2e43fd
commit e2da02512a
1 zmienionych plików z 2 dodań i 4 usunięć
src/components

Wyświetl plik

@ -84,11 +84,9 @@ export default {
isNotification() {
return this.item.type !== undefined
},
/**
* @return {boolean}
*/
/** @return {boolean} */
isBoost() {
return this.reblog !== null
return this.status.reblog !== null
},
/** @return {import('../types/Mastodon.js').Notification} */
notification() {