mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Add TODO
This commit is contained in:
parent
cfac89118e
commit
66ccba6a2d
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
if (tagFnCalls++ > maxTagFnCalls) return "\\_recursion\\_";
|
if (tagFnCalls++ > maxTagFnCalls) return "\\_recursion\\_";
|
||||||
if (typeof name !== "string") return "";
|
if (typeof name !== "string") return "";
|
||||||
if (name === "") return "";
|
if (name === "") return "";
|
||||||
|
// TODO: Incorporate tag categories here
|
||||||
const subTag = await this.tags.find(name);
|
const subTag = await this.tags.find(name);
|
||||||
if (!subTag) return "";
|
if (!subTag) return "";
|
||||||
return renderTemplate(subTag.body, { ...data, args: subTagArgs });
|
return renderTemplate(subTag.body, { ...data, args: subTagArgs });
|
||||||
|
|
Loading…
Add table
Reference in a new issue