diff options
author | Zero~Informatique | 2019-12-21 11:04:14 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-21 11:04:14 +0100 |
commit | 91d3148f97ca59769648f9307f3d7e65b1bd7e95 (patch) | |
tree | 661863c39c630346771a88b2702ec1e18ad4f584 /viewer/src/views/Gallery.vue | |
parent | 3f21d10338afe8eab699aaaea060556579e4b3c3 (diff) | |
download | ldgallery-91d3148f97ca59769648f9307f3d7e65b1bd7e95.tar.gz |
viewer:
ESLint rules
Diffstat (limited to 'viewer/src/views/Gallery.vue')
-rw-r--r-- | viewer/src/views/Gallery.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/views/Gallery.vue b/viewer/src/views/Gallery.vue index 3625838..55b93db 100644 --- a/viewer/src/views/Gallery.vue +++ b/viewer/src/views/Gallery.vue | |||
@@ -44,7 +44,7 @@ export default class Root extends Vue { | |||
44 | return null; | 44 | return null; |
45 | } | 45 | } |
46 | 46 | ||
47 | private checkType(type: string) { | 47 | private checkType(type: string): boolean { |
48 | return (this.currentItem && this.currentItem.properties.type === type) || false; | 48 | return (this.currentItem && this.currentItem.properties.type === type) || false; |
49 | } | 49 | } |
50 | } | 50 | } |