forked from AkkomaGang/akkoma-fe
fix mistakes
This commit is contained in:
parent
6bb75a3a6d
commit
4b7007bc7d
3 changed files with 1 additions and 7 deletions
|
@ -8,9 +8,7 @@
|
||||||
:style="style"
|
:style="style"
|
||||||
class="background-image"
|
class="background-image"
|
||||||
/>
|
/>
|
||||||
<div
|
<div class="panel-heading">
|
||||||
class="panel-heading"
|
|
||||||
>
|
|
||||||
<div class="user-info">
|
<div class="user-info">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -147,7 +147,6 @@ export const mutations = {
|
||||||
},
|
},
|
||||||
addNewUsers (state, users) {
|
addNewUsers (state, users) {
|
||||||
each(users, (user) => {
|
each(users, (user) => {
|
||||||
// console.log(user)
|
|
||||||
if (user.relationship) {
|
if (user.relationship) {
|
||||||
set(state.relationships, user.relationship.id, user.relationship)
|
set(state.relationships, user.relationship.id, user.relationship)
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,9 +320,6 @@ export const parseStatus = (data) => {
|
||||||
? String(output.in_reply_to_user_id)
|
? String(output.in_reply_to_user_id)
|
||||||
: null
|
: null
|
||||||
|
|
||||||
if (data.account.pleroma.relationship) {
|
|
||||||
data.account.pleroma.relationship = undefined
|
|
||||||
}
|
|
||||||
output.user = parseUser(masto ? data.account : data.user)
|
output.user = parseUser(masto ? data.account : data.user)
|
||||||
|
|
||||||
output.attentions = ((masto ? data.mentions : data.attentions) || []).map(parseUser)
|
output.attentions = ((masto ? data.mentions : data.attentions) || []).map(parseUser)
|
||||||
|
|
Loading…
Reference in a new issue