diff options
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdCommand.vue | 2 | ||||
-rw-r--r-- | viewer/src/components/LdTagInput.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 398107e..9afd121 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue | |||
@@ -55,7 +55,7 @@ export default class LdCommand extends Vue { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | isEntryPoint(): boolean { | 57 | isEntryPoint(): boolean { |
58 | return history.state.ldgallery === "ENTRYPOINT"; // Set by MainLayout.vue | 58 | return history.state?.ldgallery === "ENTRYPOINT"; // Set by MainLayout.vue |
59 | } | 59 | } |
60 | 60 | ||
61 | parent(): RawLocation { | 61 | parent(): RawLocation { |
diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue index b2a2c58..bdb07bc 100644 --- a/viewer/src/components/LdTagInput.vue +++ b/viewer/src/components/LdTagInput.vue | |||
@@ -55,7 +55,7 @@ export default class LdTagInput extends Vue { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | searchTags(filter: string) { | 57 | searchTags(filter: string) { |
58 | this.filteredTags = IndexFactory.searchTags(this.tagsIndex, filter) | 58 | this.filteredTags = IndexFactory.searchTags(this.tagsIndex, filter, false) |
59 | .filter(newSearch => !this.model.find(currentSearch => currentSearch.tag === newSearch.tag)) | 59 | .filter(newSearch => !this.model.find(currentSearch => currentSearch.tag === newSearch.tag)) |
60 | .sort((a, b) => b.items.length - a.items.length); | 60 | .sort((a, b) => b.items.length - a.items.length); |
61 | } | 61 | } |