aboutsummaryrefslogtreecommitdiff
path: root/viewer/src
diff options
context:
space:
mode:
authorOzoneGrif2020-02-27 23:35:14 +0100
committerGitHub2020-02-27 23:35:14 +0100
commit7fa92966087ec4c1b57b054d4ccccf395ba2da75 (patch)
tree6b7825aee5e9bf0b6473ff2de7f8e41ecad1c212 /viewer/src
parentfd8064319e352a0083c9e282125e658a44e4dabb (diff)
downloadldgallery-7fa92966087ec4c1b57b054d4ccccf395ba2da75.tar.gz
Swapping gallery title and current item
Co-Authored-By: Notkea <pacien@users.noreply.github.com>
Diffstat (limited to 'viewer/src')
-rw-r--r--viewer/src/components/LdTitle.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/LdTitle.vue b/viewer/src/components/LdTitle.vue
index 2614c89..074008d 100644
--- a/viewer/src/components/LdTitle.vue
+++ b/viewer/src/components/LdTitle.vue
@@ -39,7 +39,7 @@ export default class LdTitle extends Vue {
39 } 39 }
40 40
41 generateTitle(): string { 41 generateTitle(): string {
42 if (this.currentItem?.title) return `${this.galleryTitle} • ${this.currentItem.title}`; 42 if (this.currentItem?.title) return `${this.currentItem.title} • ${this.galleryTitle}`;
43 return this.galleryTitle; 43 return this.galleryTitle;
44 } 44 }
45} 45}