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:
@@ -20,9 +20,12 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
created() {
|
||||
const relativeTime = require('dayjs/plugin/relativeTime')
|
||||
dayjs.extend(relativeTime)
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.refreshUI()
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user