diff options
author | Zero~Informatique | 2020-02-14 09:19:53 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-24 00:04:39 +0100 |
commit | 370e3db3455f548699ff5e046e0f8dcc304991ac (patch) | |
tree | e29fe9e2afb940eea74c8ed510c46a1eb0fa4d84 /viewer/src/components/LdThumbnail.vue | |
parent | e42f4e864bac21ed3b19d1869df2cdd4f8c3433c (diff) | |
download | ldgallery-370e3db3455f548699ff5e046e0f8dcc304991ac.tar.gz |
viewer: major code and search mode overhaul
Updated libraries to the lastest version
SCSS Formatter as suggested VSC extensions
Renamed toolbar-color by scrollbar-color
LD components use Props in favor of touching the stores directly (when possible)
Moved most common algorithms to a "services" folder
Complete search overhaul (lots of code change)
Diffstat (limited to 'viewer/src/components/LdThumbnail.vue')
-rw-r--r-- | viewer/src/components/LdThumbnail.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue index 13468e1..3ef7fa8 100644 --- a/viewer/src/components/LdThumbnail.vue +++ b/viewer/src/components/LdThumbnail.vue | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | <script lang="ts"> | 37 | <script lang="ts"> |
38 | import { Component, Vue, Prop } from "vue-property-decorator"; | 38 | import { Component, Vue, Prop } from "vue-property-decorator"; |
39 | import Tools from "@/tools"; | 39 | import Navigation from "@/services/navigation"; |
40 | 40 | ||
41 | @Component | 41 | @Component |
42 | export default class LdThumbnail extends Vue { | 42 | export default class LdThumbnail extends Vue { |
@@ -54,7 +54,7 @@ export default class LdThumbnail extends Vue { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | getIcon() { | 56 | getIcon() { |
57 | return Tools.getIcon(this.item); | 57 | return Navigation.getIcon(this.item); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | </script> | 60 | </script> |