Commit 12c87dde authored by Anton's avatar Anton

Merge remote-tracking branch 'origin/master'

parents cdd78a5e d87d7301
......@@ -88,7 +88,13 @@
const videos = result.items
const entries = []
for (let annotation of videos) {
const meta = await this.$store.dispatch('metadata/get', annotation)
let meta = {}
try {
meta = await this.$store.dispatch('metadata/get', annotation)
}
catch (e) {
console.error('Failed to fetch metadata', e.message)
}
const entry = { annotation }
entry.title = meta.title || this.$t('labels.title_unknown')
entries.push(entry)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment