diff options
author | OzoneGrif | 2020-02-27 23:35:14 +0100 |
---|---|---|
committer | GitHub | 2020-02-27 23:35:14 +0100 |
commit | 7fa92966087ec4c1b57b054d4ccccf395ba2da75 (patch) | |
tree | 6b7825aee5e9bf0b6473ff2de7f8e41ecad1c212 /viewer/src | |
parent | fd8064319e352a0083c9e282125e658a44e4dabb (diff) | |
download | ldgallery-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.vue | 2 |
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 | } |