aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryImage.vue
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/views/GalleryImage.vue')
-rw-r--r--viewer/src/views/GalleryImage.vue22
1 files changed, 0 insertions, 22 deletions
diff --git a/viewer/src/views/GalleryImage.vue b/viewer/src/views/GalleryImage.vue
deleted file mode 100644
index 04d29d9..0000000
--- a/viewer/src/views/GalleryImage.vue
+++ /dev/null
@@ -1,22 +0,0 @@
1<template>
2 <div>
3 <strong>Image: {{image.path}}</strong>
4 <img :src="imageSrc" />
5 </div>
6</template>
7
8<script lang="ts">
9import { Component, Vue, Prop } from "vue-property-decorator";
10
11@Component
12export default class GalleryImage extends Vue {
13 @Prop({ required: true }) readonly image!: Gallery.Image;
14
15 get imageSrc() {
16 return `${process.env.VUE_APP_DATA_URL}${this.image.path}`;
17 }
18}
19</script>
20
21<style lang="scss">
22</style>