mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-28 11:11:14 -04:00
Currently, the name and date filters in the Restore Versions modal are always enabled, even if there are no versioned files present. With this change, they are enabled only when there are no errors and versioned files actually exist. In addition to disabling the filters, also completely skip date picker generation, as it serves no function while still displaying a non-sense date range, which starts today and ends in the past. Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>