mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-15 12:31:15 +00:00
fixed bugs
This commit is contained in:
parent
15a7d4733d
commit
ac3a8a9e44
2 changed files with 3 additions and 10 deletions
|
|
@ -88,7 +88,6 @@
|
|||
import ProfilePicture from "@/components/ProfilePictureTemplate.vue";
|
||||
import SimpleMarkdown from "./SimpleMarkdown.vue";
|
||||
import messageEmbedTemplate from "./messageEmbedTemplate";
|
||||
import messageFormatter from "@/utils/messageFormatter.js";
|
||||
import config from "@/config.js";
|
||||
import friendlyDate from "@/utils/date";
|
||||
import path from "path";
|
||||
|
|
@ -240,9 +239,6 @@ export default {
|
|||
file.url = config.domain + "/files/" + file.fileID;
|
||||
return file;
|
||||
},
|
||||
formatMessage() {
|
||||
return messageFormatter(this.$props.message);
|
||||
},
|
||||
getDate() {
|
||||
return friendlyDate(this.$props.date);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -78,11 +78,7 @@
|
|||
>
|
||||
<div class="key">{{aboutItem.key}}:</div>
|
||||
<div class="emoji" v-if="aboutItem.emoji" v-html="aboutItem.emoji"></div>
|
||||
<div
|
||||
class="name"
|
||||
v-if="aboutItem.key === 'About me'"
|
||||
v-html="formatAboutMe(aboutItem.name)"
|
||||
></div>
|
||||
<SimpleMarkdown class="name" v-if="aboutItem.key === 'About me'" :message="aboutItem.name" />
|
||||
<div class="name" v-else>{{aboutItem.name}}</div>
|
||||
</div>
|
||||
<div class="about-item">
|
||||
|
|
@ -105,11 +101,12 @@ import relationshipService from "@/services/RelationshipService.js";
|
|||
import surveyItems from "@/utils/surveyItems.js";
|
||||
import emojiParser from "@/utils/emojiParser.js";
|
||||
import messageFormatter from "@/utils/messageFormatter.js";
|
||||
import SimpleMarkdown from "@/components/app/SimpleMarkdown";
|
||||
import badges from "@/utils/Badges";
|
||||
import friendlyDate from "@/utils/date";
|
||||
|
||||
export default {
|
||||
components: { Spinner, profilePicture },
|
||||
components: { Spinner, profilePicture, SimpleMarkdown },
|
||||
data() {
|
||||
return {
|
||||
surveyItems: Object.assign({}, surveyItems),
|
||||
|
|
|
|||
Loading…
Reference in a new issue