Implemented primitive change reversion

This commit is contained in:
2025-01-28 16:45:21 +01:00
parent e553d47841
commit 5a342e2c53
5 changed files with 43 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
@implements IDialogContentComponent<EditorDialogData>
@rendermode InteractiveServer
@implements IDialogContentComponent<EditorDialogData>
@using System.Collections
@using HopFrame.Core.Config

View File

@@ -249,6 +249,7 @@
if (result.Cancelled) {
if (data?.CurrentObject is not null)
await _manager!.RevertChanges(data.CurrentObject);
await Reload();
return;
}