aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdInformation.vue
diff options
context:
space:
mode:
authorZero~Informatique2021-07-02 22:53:16 +0200
committerZero~Informatique2021-07-03 00:05:22 +0200
commit9165cc1efcf7791f78b61b2c51a9de651b1b09aa (patch)
tree111cfdc74ddaf7b19ff27508f16ab84694b27670 /viewer/src/components/LdInformation.vue
parent08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff)
downloadldgallery-9165cc1efcf7791f78b61b2c51a9de651b1b09aa.tar.gz
viewer: types normalization - gallery.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src/components/LdInformation.vue')
-rw-r--r--viewer/src/components/LdInformation.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/viewer/src/components/LdInformation.vue b/viewer/src/components/LdInformation.vue
index 66ccc80..b161485 100644
--- a/viewer/src/components/LdInformation.vue
+++ b/viewer/src/components/LdInformation.vue
@@ -26,12 +26,13 @@
26</template> 26</template>
27 27
28<script lang="ts"> 28<script lang="ts">
29import { Component, Vue, Prop } from "vue-property-decorator"; 29import { Item } from "@/@types/gallery";
30import marked from "marked"; 30import marked from "marked";
31import { Component, Prop, Vue } from "vue-property-decorator";
31 32
32@Component 33@Component
33export default class LdInformation extends Vue { 34export default class LdInformation extends Vue {
34 @Prop({ required: true }) readonly item!: Gallery.Item; 35 @Prop({ required: true }) readonly item!: Item;
35 36
36 get formatDate() { 37 get formatDate() {
37 const date = this.item.datetime.substr(0, 10); 38 const date = this.item.datetime.substr(0, 10);