DEV: Topic creator fix (#181)
This commit is contained in:
@@ -5,15 +5,13 @@ export default class TopicCreatorColumn extends Component {
|
|||||||
get topicCreator() {
|
get topicCreator() {
|
||||||
return {
|
return {
|
||||||
user: this.args.topic.creator,
|
user: this.args.topic.creator,
|
||||||
username: this.args.topic.creator.username,
|
|
||||||
class: "--topic-creator",
|
class: "--topic-creator",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class={{this.topicUser.class}}>
|
<div class={{this.topicCreator.class}}>
|
||||||
{{avatar this.topicCreator.user}}
|
{{avatar this.topicCreator.user}}
|
||||||
<span class="topic-creator__username">{{this.topicUser.username}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user