Fixes featured image log exhibition

This commit is contained in:
weryques 2018-05-03 16:09:18 -03:00
parent 80d576b12e
commit f582b08cbb
2 changed files with 12 additions and 2 deletions

View File

@ -13,8 +13,13 @@
<p/>
<div class="has-text-weight-bold is-capitalized">{{ `${key.replace('_', ' ')}:` }}</div>
<div v-if="key === 'featured_image'">
<div class="image is-128x128">
<img :src="diff.old">
</div>
</div>
<div
v-if="!Array.isArray(diff.old)"
v-else-if="!Array.isArray(diff.old)"
class="content is-inline">
{{ diff.old }}
</div>

View File

@ -14,8 +14,13 @@
<p/>
<div class="has-text-weight-bold is-capitalized">{{ `${key.replace('_', ' ')}:` }}</div>
<div v-if="key === 'featured_image'">
<div class="image is-128x128">
<img :src="diff.old">
</div>
</div>
<div
v-if="!Array.isArray(diff.old)"
v-else-if="!Array.isArray(diff.old)"
class="content is-inline">
{{ diff.old }}
</div>