diff options
Diffstat (limited to 'viewer/src/components/LdCommand.vue')
-rw-r--r-- | viewer/src/components/LdCommand.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 6059162..2578055 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue | |||
@@ -25,10 +25,10 @@ | |||
25 | </a> | 25 | </a> |
26 | <ld-command-sort /> | 26 | <ld-command-sort /> |
27 | <a | 27 | <a |
28 | :class="{ disabled: isEntryPoint }" | 28 | :class="{ disabled: isEntryPoint() }" |
29 | class="link command-secondary" | 29 | class="link command-secondary" |
30 | :title="$t('command.back')" | 30 | :title="$t('command.back')" |
31 | @click="isEntryPoint || $router.back()" | 31 | @click="isEntryPoint() || $router.back()" |
32 | > | 32 | > |
33 | <fa-icon icon="arrow-left" size="lg" /> | 33 | <fa-icon icon="arrow-left" size="lg" /> |
34 | </a> | 34 | </a> |
@@ -55,7 +55,7 @@ export default class LdCommand extends Vue { | |||
55 | return this.currentItemPath.length <= 1 && !this.$uiStore.searchMode; | 55 | return this.currentItemPath.length <= 1 && !this.$uiStore.searchMode; |
56 | } | 56 | } |
57 | 57 | ||
58 | get isEntryPoint(): boolean { | 58 | isEntryPoint(): boolean { |
59 | return history.state?.ldgallery === "ENTRYPOINT"; // Set by MainLayout.vue | 59 | return history.state?.ldgallery === "ENTRYPOINT"; // Set by MainLayout.vue |
60 | } | 60 | } |
61 | 61 | ||