mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 06:39:16 +02:00
Redraw ago datetime every minute
This commit is contained in:
parent
2d12c56b90
commit
40350f0555
4 changed files with 32 additions and 2 deletions
|
@ -44,6 +44,10 @@ export default {
|
|||
},
|
||||
created () {
|
||||
this.$store.dispatch('instance/fetchSettings')
|
||||
setInterval(() => {
|
||||
// used to redraw ago dates every minute
|
||||
self.$store.commit('ui/computeLastDate')
|
||||
}, 1000 * 60)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue