Skip to content

Commit

Permalink
Fix missing documents
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 21, 2025
1 parent f3b7ff3 commit da52263
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/server/src/VDF/VGUI/VGUIWorkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ export class VGUIWorkspace extends WorkspaceBase {
promises.push(promise)

setTimeout(async () => {
const uri = await firstValueFrom(fileSystem.resolveFile(name))
const path = posix.join("resource/ui", name)
const uri = await firstValueFrom(fileSystem.resolveFile(path))
if (uri) {
using document = await documents.get(uri, true)
await firstValueFrom(document.definitionReferences$)
Expand Down

0 comments on commit da52263

Please sign in to comment.