+bio logging 1

This commit is contained in:
Natsumi
2022-12-13 15:38:18 +13:00
parent 1d842af238
commit f865d5086d
2 changed files with 9 additions and 17 deletions

View File

@@ -8447,20 +8447,14 @@ speechSynthesis.getVoices();
$app.addFeed(feed);
database.addStatusToDatabase(feed);
}
if (props.bio) {
var bio = '';
var previousBio = '';
if (props.bio) {
if (props.bio[0]) {
bio = props.bio[0];
}
if (props.bio[1]) {
previousBio = props.bio[1];
}
} else if (ref.bio) {
bio = ref.bio;
previousBio = ref.bio;
if (props.bio[0]) {
bio = props.bio[0];
}
if (props.bio[1]) {
previousBio = props.bio[1];
}
var feed = {
created_at: new Date().toJSON(),

View File

@@ -367,14 +367,10 @@ html
i.x-user-status(:class="statusClass(scope.row.status)")
span(v-text="scope.row.statusDescription")
template(v-else-if="scope.row.type === 'Bio'")
el-tooltip(placement="top")
pre(v-text="scope.row.previousBio")
pre(v-text="scope.row.previousBio" style="font-family:inherit;font-size:12px;white-space:pre-wrap;margin:0 0.5em 0 0")
span
i.el-icon-right
br
el-tooltip(placement="top")
pre(v-text="scope.row.bio")
pre(v-text="scope.row.bio" style="font-family:inherit;font-size:12px;white-space:pre-wrap;margin:0 0.5em 0 0")
el-table-column(label="Date" prop="created_at" sortable="custom" width="120")
template(v-once #default="scope")
el-tooltip(placement="right")
@@ -424,6 +420,8 @@ html
span(v-text="scope.row.statusDescription")
template(v-else-if="scope.row.type === 'Avatar'")
avatar-info(:imageurl="scope.row.currentAvatarImageUrl" :userid="scope.row.userId" :hintownerid="scope.row.ownerId" :hintavatarname="scope.row.avatarName")
template(v-else-if="scope.row.type === 'Bio'")
span(v-text="scope.row.bio")
//- gameLog
.x-container(v-show="$refs.menu && $refs.menu.activeIndex === 'gameLog'")