Browse Source

fix(nc-gui): retrieve the comment part from the audit description

pull/5513/head
Wing-Kam Wong 1 year ago
parent
commit
0bb5126b96
  1. 6
      packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

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

@ -158,7 +158,11 @@ watch(
class="block caption my-2 nc-chip w-full min-h-20px p-2 rounded"
:style="{ backgroundColor: enumColor.light[2] }"
>
{{ log.description }}
<!--
retrieve the comment part from the audit description
`The following comment has been created: foo` -> `foo`
-->
{{ log.description.substring(log.description.indexOf(':') + 1) }}
</p>
</div>

Loading…
Cancel
Save