1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

[Client] Fix bug

This commit is contained in:
syuilo 2018-11-25 13:21:47 +09:00
parent 995cf503eb
commit fc8aeb5a66
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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;