Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit d411932

Browse files
committed
Fix dashboard schema
Refactor of #211 broke schema in monaco of the dashboard
1 parent a04b9ff commit d411932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodecg-io-core/dashboard/serviceInstance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ function showInMonaco(
261261
},
262262
);
263263

264-
editor?.setModel(monaco.editor.createModel(content, type));
264+
editor?.setModel(monaco.editor.createModel(content, type, schema ? modelUri : undefined));
265265
}

0 commit comments

Comments
 (0)