From 1bd2361a3dcd14338dfbdf22638c353f5774d4e7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 16 Dec 2023 23:27:22 +0100 Subject: [PATCH] [TimeInterval] Refresh value on `mounted`. --- .../http/webapp/src/components/elements/TimeInterval.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platypush/backend/http/webapp/src/components/elements/TimeInterval.vue b/platypush/backend/http/webapp/src/components/elements/TimeInterval.vue index fda8c55a4..d92c55748 100644 --- a/platypush/backend/http/webapp/src/components/elements/TimeInterval.vue +++ b/platypush/backend/http/webapp/src/components/elements/TimeInterval.vue @@ -104,6 +104,10 @@ export default { return value == null ? null : value / this.multiplier }, }, + + mounted() { + this.duration = this.toUnit(this.value) + }, }