Properly await script save
parent
24ae82a2ed
commit
7cfa457103
|
@ -86,7 +86,7 @@
|
||||||
{
|
{
|
||||||
var value = await Editor.GetValue();
|
var value = await Editor.GetValue();
|
||||||
|
|
||||||
ScriptService.Update(Script);
|
await ScriptService.Update(Script);
|
||||||
|
|
||||||
Snackbar.Add("Script saved!", Severity.Success);
|
Snackbar.Add("Script saved!", Severity.Success);
|
||||||
MudDialog.Close();
|
MudDialog.Close();
|
||||||
|
|
Loading…
Reference in New Issue