mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
reload after restoring a snapshot
This commit is contained in:
parent
eda9651bf9
commit
d792d4fee9
@ -126,6 +126,9 @@
|
||||
isCurrent={idx == 0}
|
||||
on:restoreClick={() => {
|
||||
historyService.restoreSnapshot(project.id, entry.id);
|
||||
// In some cases, restoring the snapshot doesnt update the UI correctly
|
||||
// Until we have that figured out, we need to reload the page.
|
||||
location.reload();
|
||||
}}
|
||||
{selectedFile}
|
||||
on:diffClick={async (filePath) => {
|
||||
|
Loading…
Reference in New Issue
Block a user