Show "Restore Checkpoint" only when there were changes (#27243)

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
e14ebcf267Antonio Scandurra committed on 3/21/2025, 2:10:43 PM· committed by GitHubparent9d965bc
9 files changedLine totals unavailable