diff --git a/src/views/moderation_log/LogEntryMessage.vue b/src/views/moderation_log/LogEntryMessage.vue index 101b1203..d9cc8547 100644 --- a/src/views/moderation_log/LogEntryMessage.vue +++ b/src/views/moderation_log/LogEntryMessage.vue @@ -4,7 +4,7 @@ v-if="propertyExists(actor, 'id')" :to="{ name: 'UsersShow', params: { id: actor.id }}" class="router-link"> - + @{{ actor.nickname }} @@ -24,15 +24,11 @@ export default { message: { type: String, required: true - }, - data: { - type: Object, - required: true } }, computed: { logEntryMessage() { - return this.message + return this.message.split(this.actor.nickname)[1] } }, methods: { diff --git a/src/views/moderation_log/index.vue b/src/views/moderation_log/index.vue index f8e822fe..af123e22 100644 --- a/src/views/moderation_log/index.vue +++ b/src/views/moderation_log/index.vue @@ -43,7 +43,8 @@ v-for="(logEntry, index) in log" :key="index" :timestamp="normalizeTimestamp(logEntry.time)"> - + + {{ logEntry.message }}