Reload Overview metadata and versions when loading a new file.

This commit is contained in:
Alf
2020-12-22 18:53:59 -08:00
parent 13ac0d137e
commit c152e9f0eb
2 changed files with 12 additions and 8 deletions

View File

@@ -15,9 +15,9 @@
export default {
name: 'Overview',
props: ['info'],
data() {
return {
items: [
computed: {
items() {
return [
{
name: this.info.name,
duration: this.info.duration,
@@ -26,15 +26,17 @@ export default {
nb_streams: this.info.nb_streams,
flags: this.info.flags,
},
],
versions: [
]
},
versions() {
return [
{
libavutil: this.info.versions.libavutil,
libavcodec: this.info.versions.libavcodec,
libavformat: this.info.versions.libavformat,
}
},
]
}
}
},
},
}
</script>