Skip to content

Commit

Permalink
fixed group elements management
Browse files Browse the repository at this point in the history
  • Loading branch information
kuogi committed Nov 3, 2023
1 parent b9c396f commit b6f7194
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/main.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ class Config {
for(const file of filesListElementsGlobal) {
if (this.#getFullPathByFileElement(file) == fileName) {
detectedId = file.parentElement;

if (detectedId.tagName.toUpperCase() === 'GROUP') {
detectedId = detectedId.parentElement;
}

break;
}
}

Expand Down

0 comments on commit b6f7194

Please sign in to comment.