Browse Source

fix(nc-gui): show audit description if details are not available

pull/5513/head
Wing-Kam Wong 2 years ago
parent
commit
a5754755f1
  1. 4
      packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

4
packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

@ -166,7 +166,9 @@ watch(
</p> </p>
</div> </div>
<p v-else v-dompurify-html="log.details" class="caption my-3" style="word-break: break-all" /> <p v-if="log.details" v-dompurify-html="log.details" class="caption my-3" style="word-break: break-all" />
<p v-else>{{ log.description }}</p>
<p class="time text-right text-[10px] mb-0 mt-1 text-gray-500"> <p class="time text-right text-[10px] mb-0 mt-1 text-gray-500">
{{ timeAgo(log.created_at) }} {{ timeAgo(log.created_at) }}

Loading…
Cancel
Save