diff --git a/client/plugos/syscalls/editor.ts b/client/plugos/syscalls/editor.ts index 84b59579..f53fcbc0 100644 --- a/client/plugos/syscalls/editor.ts +++ b/client/plugos/syscalls/editor.ts @@ -42,12 +42,7 @@ export function editorSyscalls(client: Client): SysCallMapping { }, "editor.getCurrentPageMeta": (): Promise => { const name = client.currentName(); - return client.clientSystem.localSyscall("index.getObjectByRef", [ - name, - "page", - name, - ]); - // return client.ui.viewState.current?.meta; + return client.objectIndex.getObjectByRef(name, "page", name); }, "editor.getCurrentPath": (_ctx): string => { return client.currentPath();