Skip to content

Commit 8dc8ded

Browse files
authored
Fix the periodic service form's hour/minute values being reset. (baserow#4943)
1 parent 92c9eb8 commit 8dc8ded

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "Resolved an issue which prevented hour and minute values from persisting in the periodic trigger form.",
4+
"issue_origin": "github",
5+
"issue_number": null,
6+
"domain": "automation",
7+
"bullet_points": [],
8+
"created_at": "2026-03-09"
9+
}

web-frontend/modules/integrations/core/components/services/CorePeriodicServiceForm.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,12 @@ export default {
311311
}
312312
},
313313
syncValuesFromUser() {
314+
if (!this.syncedFromValues) {
315+
// This function could have been called before the initial sync from `values`
316+
// to `user` in mounted() has completed. In that case, we don't want to run
317+
// this logic yet since `user` won't have the correct values yet.
318+
return
319+
}
314320
this.v$.$touch()
315321
if (this.v$.values.interval.$invalid) return
316322
if (this.showMinuteFrequencyField && this.v$.user.minute.$invalid) return

0 commit comments

Comments
 (0)