Properly await script save

This commit is contained in:
Pat Hartl 2023-02-17 00:32:26 -06:00
parent 24ae82a2ed
commit 7cfa457103

View file

@ -86,7 +86,7 @@
{
var value = await Editor.GetValue();
ScriptService.Update(Script);
await ScriptService.Update(Script);
Snackbar.Add("Script saved!", Severity.Success);
MudDialog.Close();