Fix case where {tags} returns an error (#1549)
This commit is contained in:
parent
7a8d359aa2
commit
0e1845c7ed
@ -250,6 +250,7 @@ class TemplateRenderer {
|
||||
|
||||
const tags = new Set();
|
||||
for (const tagSource of tagSources) {
|
||||
if (!Array.isArray(tagSource)) { continue; }
|
||||
for (const tag of tagSource) {
|
||||
tags.add(tag.name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user