Browse Source

feat: user name for updates from shared base displayed accordingly

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/764/head
Raju Udava 3 years ago
parent
commit
fa4d180eed
  1. 2
      packages/nc-gui/components/project/auditTab/audit.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue

2
packages/nc-gui/components/project/auditTab/audit.vue

@ -48,7 +48,7 @@
{{ audit.description }}
</td>
<td class="caption">
{{ audit.user }}
{{ audit.user == null?'Shared base':audit.user }}
</td>
<!-- <td class="caption">-->
<!-- {{ audit.ip }}-->

2
packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue

@ -187,7 +187,7 @@
</v-list-item-icon>
<div class="flex-grow-1" style="min-width: 0">
<p class="mb-1 caption edited-text">
{{ isYou(log.user) ? 'You' : log.user }} {{
{{ isYou(log.user) ? 'You' : log.user==null?'Shared base':log.user }} {{
log.op_type === 'COMMENT' ? 'commented' : (
log.op_sub_type === 'INSERT' ? 'created' : 'edited'
)

Loading…
Cancel
Save