let inner = null;
if (component.refKey) {
- inner = <a href={getComponentUrl(component.refKey)}>{name}</a>;
+ inner = (
+ <a className="link-with-icon" href={getComponentUrl(component.refKey)}>
+ <QualifierIcon qualifier={component.qualifier}/>
+ {' '}
+ <span>{name}</span>
+ </a>
+ );
} else {
if (canBrowse) {
const query = { id: rootComponent.key };
const metrics = getMetrics(isView);
- return getChildren(componentKey, metrics, { ps: PAGE_SIZE, s: 'name' })
+ return getChildren(componentKey, metrics, { ps: PAGE_SIZE, s: 'qualifier,name' })
.then(prepareChildren)
.then(expandRootDir(metrics))
.then(r => {