Skip to content

Commit

Permalink
remove check for path
Browse files Browse the repository at this point in the history
  • Loading branch information
Meriem-BenIsmail committed Jan 9, 2025
1 parent 81ec405 commit ce23301
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/docprovider-extension/src/filebrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,7 @@ export const statusBarTimeline: JupyterFrontEndPlugin<void> = {
const currentWidget = app.shell
.currentWidget as DocumentWidget | null;

if (
currentWidget &&
currentWidget.context &&
typeof currentWidget.context.path === 'string'
) {
if (currentWidget && currentWidget.context) {
return !!currentWidget.context.model.collaborative;
}
return false;
Expand Down

0 comments on commit ce23301

Please sign in to comment.