Transition from sendEvent to syscall event.dispatch

This commit is contained in:
Zef Hemel
2023-01-16 11:06:07 +01:00
parent ef7830662e
commit 882f157cf1
3 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export async function showLogsCommand() {
serverDiv.scrollTop = serverDiv.scrollHeight;
self.close = () => {
sendEvent("log:hide");
syscall("event.dispatch", "log:hide");
};
syscall("system.getEnv").then((env) => {