1 Commits
Author SHA1 Message Date
alamin-br 4ffb9ac8c7 fix: switching table type in the create table modal (#7018)
* fix: don't throw when switching from a data sync to a new table

The modal resets the form on a type change before the data sync form is
swapped out, and the data sync form had no reset method.

* fix: reset the sync options when switching data sync type

A two-way sync left on from PostgreSQL was sent for iCal, which doesn't
support it, so creating the table failed.

* fix: clear leftover data sync state when the type changes

Keeps the sync option defaults in one place, shows a failed restored sync
as an error with the form, and ignores properties for a previous type.

* test: reuse the data sync mount helper
2026-12-03 12:15:28 +01:00