1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-15 20:13:16 +02:00

Fix: Prevent Vue race condition to initialize dayjs relativeTime plugin

This commit is contained in:
Ralph Slooten
2024-07-28 10:59:02 +12:00
parent 05da2a76f4
commit 9670183d0f

View File

@@ -20,9 +20,12 @@ export default {
}
},
mounted() {
created() {
const relativeTime = require('dayjs/plugin/relativeTime')
dayjs.extend(relativeTime)
},
mounted() {
this.refreshUI()
},