Skip to content

Commit 291dac8

Browse files
timeline displayed for documents other than notebooks.
1 parent 87c5088 commit 291dac8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/docprovider-extension/src/filebrowser.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,7 @@ export const statusBarTimeline: JupyterFrontEndPlugin<void> = {
234234
typeof currentWidget.context.path === 'string'
235235
) {
236236
const documentPath = currentWidget.context.path;
237-
const documentId =
238-
currentWidget.context.model.sharedModel.getState(
239-
'document_id'
240-
) as string;
241-
return !!documentId && documentPath.split(':')[0] === 'RTC';
237+
return documentPath.split(':')[0] === 'RTC';
242238
}
243239
return false;
244240
}

0 commit comments

Comments
 (0)