mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-28 06:56:06 +00: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