From 7cfa457103c3d407b432c5e101f64eafaa818cd3 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Fri, 17 Feb 2023 00:32:26 -0600 Subject: [PATCH] Properly await script save --- LANCommander/Components/ScriptEditorDialog.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LANCommander/Components/ScriptEditorDialog.razor b/LANCommander/Components/ScriptEditorDialog.razor index 7c8690e..81644e2 100644 --- a/LANCommander/Components/ScriptEditorDialog.razor +++ b/LANCommander/Components/ScriptEditorDialog.razor @@ -86,7 +86,7 @@ { var value = await Editor.GetValue(); - ScriptService.Update(Script); + await ScriptService.Update(Script); Snackbar.Add("Script saved!", Severity.Success); MudDialog.Close();