There was an error while loading. Please reload this page.
1 parent 337fa5a commit 62c61aaCopy full SHA for 62c61aa
1 file changed
web_src/js/components/ViewFileTreeItem.vue
@@ -32,6 +32,8 @@ const onItemClick = (e: MouseEvent) => {
32
// - the user didn't press any special key like "Ctrl+Click" (which may have custom browser behavior)
33
// - the editor/commit form isn't dirty (a full page reload shows a confirmation dialog if the form contains unsaved changes)
34
if (!isPlainClick(e) || shouldTriggerAreYouSure()) return;
35
+ // submodules (commit entry mode) point to external repos, let the browser handle navigation normally
36
+ if (props.item.entryMode === 'commit') return;
37
e.preventDefault();
38
if (props.item.entryMode === 'tree') doLoadChildren();
39
store.navigateTreeView(props.item.fullPath);
0 commit comments