Commit cc321502 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed javascript error on OverviewPage rooted in missing references. #719

parent 29883a70
......@@ -150,6 +150,10 @@ export const rootSections = sortDefs(defs.filter(def => (
* @param {object} data Archive.
*/
export function resolveRef(ref, data) {
if (!ref) {
return null
}
const resolve = (ref, context) => {
const parts = ref.split('#')
if (parts.length === 2 && parts[0] !== '') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment