Skip to content

Commit 7cbb32c

Browse files
committed
Releasing hot-fix because GitLab's code has changed.
It's Sunday midnight, so developers will be able to work tomorrow. Major update in progress.
1 parent 2730dc4 commit 7cbb32c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "GitLab - Tree view for code",
33
"homepage_url": "https://github.com/tomasbonco/gitlabtree",
44
"author": "Tomáš Bončo",
5-
"version": "0.0.10",
5+
"version": "0.0.11",
66
"manifest_version": 2,
77
"description": "Provides folder structure view for code in GitLab.",
88
"icons": {

src/inject/inject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class GitLabTree
130130
*/
131131
obtainMetadata(): IMetadata[]
132132
{
133-
const metadataFiles_v10_3_and_latest: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.diff-file-changes .dropdown-content li:not(.hidden)' ));
133+
const metadataFiles_v10_3_and_latest: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.diff-file-changes .dropdown-content li:not(.hidden):not(.dropdown-menu-empty-item)' ));
134134
const metadataFiles_v9_5: () => HTMLElement[] = () => Array.prototype.slice.call( document.querySelectorAll( '.file-stats li' ));
135135

136136
const files_latest = metadataFiles_v10_3_and_latest();

0 commit comments

Comments
 (0)