mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 16:53:09 +02:00
[Client] Fix bug
This commit is contained in:
parent
995cf503eb
commit
fc8aeb5a66
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export default (opts: Opts = {}) => ({
|
||||||
const ast = parse(this.appearNote.text);
|
const ast = parse(this.appearNote.text);
|
||||||
// TODO: 再帰的にURL要素がないか調べる
|
// TODO: 再帰的にURL要素がないか調べる
|
||||||
return unique(ast
|
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));
|
.map(t => t.props.url));
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue