aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GalleryDirectory.vue
blob: bed16641b1bc80aa82d322091bee5ababc469125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<template>
  <div>
    <strong>Directory: {{directory.path}}</strong>
    <div v-for="(item, index) in directory.properties.items" :key="item.path">
      <router-link :to="item.path">Thumbnail: {{index}}-{{item.path}}</router-link>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";

@Component
export default class GalleryDirectory extends Vue {
  @Prop({ type: Array, required: true }) readonly directory!: Gallery.Directory;
}
</script>

<style lang="scss">
</style>