diff --git a/html/src/app.js b/html/src/app.js index b4a15a46..b1a2cd94 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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(), diff --git a/html/src/index.pug b/html/src/index.pug index e93ce316..3e355b86 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -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'")