diff options
Diffstat (limited to 'src/client/app/mobile')
| -rw-r--r-- | src/client/app/mobile/views/components/note-detail.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index 61968a64d1..19455aeae2 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -143,8 +143,8 @@ export default Vue.extend({ if (this.appearNote.text) { const ast = parse(this.appearNote.text); return unique(ast - .filter(t => (t.type == 'url' || t.type == 'link') && !t.silent) - .map(t => t.url)); + .filter(t => ((t.name == 'url' || t.name == 'link') && t.props.url && !t.silent)) + .map(t => t.props.url)); } else { return null; } |