Fixed bug with parents
*/
function isMatchingGroupOrResourceType(parentsChunk, parentResType, componentList) {
return parentsChunk.startsWith('group:') ?
- isMatchingGroup(parentsChunk[0], parentResType, componentList) :
- isMatching(parentsChunk[0], parentResType);
+ isMatchingGroup(parentsChunk, parentResType, componentList) :
+ isMatching(parentsChunk, parentResType);
}
/**
*/
function isMatchingGroup(parentsChunk, parentResType, componentList) {
let groupName = parentsChunk.substring(6);
- if (groupName.startsWith('\'')) {
+ if (groupName.startsWith('\'') || groupName.startsWith('`')) {
groupName = groupName.substring(1, groupName.length - 1);
}
const arr = getComponentsResTypesByGroup(groupName, componentList);
