Skip to content
Snippets Groups Projects
Unverified Commit fc8aeb5a authored by syuilo's avatar syuilo
Browse files

[Client] Fix bug

parent 995cf503
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ export default (opts: Opts = {}) => ({
const ast = parse(this.appearNote.text);
// TODO: 再帰的にURL要素がないか調べる
return unique(ast
.filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.silent))
.filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.props.silent))
.map(t => t.props.url));
} else {
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment