mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-16 12:35:07 +02:00
29 lines
473 B
Vue
29 lines
473 B
Vue
<template>
|
|
<span class="content">
|
|
Topic set by
|
|
<Username :user="message.from" />
|
|
on {{ messageTimeLocale }}
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
import localetime from "../../js/helpers/localetime";
|
|
import Username from "../Username.vue";
|
|
|
|
export default {
|
|
name: "MessageTypeTopicSetBy",
|
|
components: {
|
|
Username,
|
|
},
|
|
props: {
|
|
network: Object,
|
|
message: Object,
|
|
},
|
|
computed: {
|
|
messageTimeLocale() {
|
|
return localetime(this.message.when);
|
|
},
|
|
},
|
|
};
|
|
</script>
|