expand excerpts
This commit is contained in:
parent
30e6f4a436
commit
a638e112eb
|
@ -26,6 +26,13 @@ function initialize(api, container) {
|
||||||
}
|
}
|
||||||
return columns;
|
return columns;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
api.registerValueTransformer("topic-list-item-expand-pinned", ({ value }) => {
|
||||||
|
if (container.lookup("service:router").currentRouteName === "docs.index") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
Loading…
Reference in New Issue