Skip to content

Commit 54bcf64

Browse files
committed
Fix empty file message
1 parent 0e31521 commit 54bcf64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/static/js/workspace_manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,9 @@ class WorkspaceManager {
306306
window.openFile(firstFile);
307307
}
308308
} else {
309-
// No files available - show placeholder
309+
// No files available - clear editor
310310
if (window.workspaceMonacoEditor) {
311-
window.workspaceMonacoEditor.setValue('Select a file from the left to view its content.');
311+
window.workspaceMonacoEditor.setValue('');
312312
}
313313
if (window.updateFilePathLabel) {
314314
window.updateFilePathLabel(null);

0 commit comments

Comments
 (0)