Implemented primitive change reversion
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@implements IDialogContentComponent<EditorDialogData>
|
||||
@rendermode InteractiveServer
|
||||
@implements IDialogContentComponent<EditorDialogData>
|
||||
|
||||
@using System.Collections
|
||||
@using HopFrame.Core.Config
|
||||
|
||||
@@ -249,6 +249,7 @@
|
||||
if (result.Cancelled) {
|
||||
if (data?.CurrentObject is not null)
|
||||
await _manager!.RevertChanges(data.CurrentObject);
|
||||
await Reload();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user