minor bug fix
This commit is contained in:
parent
d954c71fa5
commit
5ec3b0b66f
@ -1352,7 +1352,7 @@
|
|||||||
allHeadings.forEach(heading => {
|
allHeadings.forEach(heading => {
|
||||||
headingObserver.observe(heading.nextElementSibling)
|
headingObserver.observe(heading.nextElementSibling)
|
||||||
})
|
})
|
||||||
const contributorList = contributors.map(id => {
|
const contributorList = contributors.filter(v => v).map(id => {
|
||||||
const contributorName = floGlobals.appObjects.rmTimes.articleWriters.hasOwnProperty(id) ? floGlobals.appObjects.rmTimes.articleWriters[id].name : id;
|
const contributorName = floGlobals.appObjects.rmTimes.articleWriters.hasOwnProperty(id) ? floGlobals.appObjects.rmTimes.articleWriters[id].name : id;
|
||||||
return html` <a href="${`#/writer?id=${id}`}" class="contributor"> ${contributorName} </a> `
|
return html` <a href="${`#/writer?id=${id}`}" class="contributor"> ${contributorName} </a> `
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user