Bugfix for photo model

This commit is contained in:
Michael Mayer 2018-09-24 19:26:25 +02:00
parent e5643122d0
commit fc3baa3cba
2 changed files with 2 additions and 3 deletions

View file

@ -216,8 +216,7 @@
<v-card-title primary-title class="pa-3">
<div>
<h3 class="subheading mb-2" :title="photo.PhotoTitle">{{ photo.PhotoTitle |
truncate(80) }}</h3>
<h3 class="subheading mb-2" :title="photo.PhotoTitle">{{ photo.PhotoTitle | truncate(80) }}</h3>
<div class="caption">
<v-icon size="14">date_range</v-icon>
{{ photo.TakenAt | moment('DD/MM/YYYY hh:mm:ss') }}

View file

@ -57,7 +57,7 @@ class Photo extends Abstract {
location.push(this.LocCounty)
}
if (this.LocState && LocState !== LocCity) {
if (this.LocState && this.LocState !== this.LocCity) {
location.push(this.LocState)
}