We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f16670a + 6fdda94 commit 822c684Copy full SHA for 822c684
src/command.ts
@@ -42,9 +42,11 @@ export function showCellDiff(
42
mergeView.hide();
43
44
const footer = cellFooterTracker.getFooter(data.cell_id);
45
- // Try removing any old widget that exists.
+
46
+ // Try removing any old widget, if it exists.
47
try {
48
footer?.removeWidget('jp-cell-diff');
49
+ footer?.removeToolbarItem('compare');
50
} finally {
51
// Do Nothing
52
}
0 commit comments