Only empty out editor if it exists on new modal
This commit is contained in:
parent
770c31e0e9
commit
58d34baa51
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@
|
|||
GameId = Game.Id
|
||||
};
|
||||
|
||||
await Editor.SetValue("");
|
||||
if (Editor != null)
|
||||
await Editor.SetValue("");
|
||||
}
|
||||
else
|
||||
Script = script;
|
||||
|
|
Loading…
Add table
Reference in a new issue