Moved capture path out of metadata, into state

This commit is contained in:
Joel Collins 2019-05-02 11:52:03 +01:00
parent 169d5cc5f4
commit f77c3293e8
2 changed files with 6 additions and 1 deletions

View file

@ -42,10 +42,10 @@
<div class="uk-modal-dialog uk-modal-body">
<button class="uk-modal-close-default" type="button" uk-close></button>
<h2 class="uk-modal-title">{{ metadata.filename }}</h2>
<p><b>Path: </b>{{ path }}</p>
<p><b>Time: </b>{{ betterTimestring }}</p>
<p><b>ID: </b>{{ metadata.id }}</p>
<p><b>Format: </b>{{ metadata.format }}</p>
<p><b>Path: </b>{{ metadata.path }}</p>
<div v-for="(value, key) in metadata.custom" :key="key" >
<p><b>{{ key }}: </b>{{ value }}</p>
@ -89,6 +89,10 @@ export default {
metadata: {
type: Object,
required: true
},
path: {
type: String,
required: true
}
},

View file

@ -43,6 +43,7 @@
v-else
:metadata="item.metadata"
:temporary="item.temporary"
:path="item.path"
/>
</div>