Browse Source

fix: comments

pull/6554/head
DarkPhoenix2704 1 year ago
parent
commit
91fb203b22
  1. 2
      packages/nc-gui/components/smartsheet/expanded-form/Comments.vue
  2. 1
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  3. 1
      packages/nocodb/src/controllers/audits.controller.ts

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

@ -175,7 +175,7 @@ const processedAudit = (log: string) => {
</div>
</div>
<NcButton
v-if="log.user === user!.email && !editLog && !appInfo.ee"
v-if="log.user === user!.email && !editLog"
v-e="['c:row-expand:comment:edit']"
type="secondary"
class="!px-2 opacity-0 group-hover:opacity-100 transition-all"

1
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -488,7 +488,6 @@ export default {
'w-2/3': showRightSections,
}"
>
{{ rowId }}{{ _row }}
<div
class="flex flex-col flex-grow mt-2 h-full max-h-full nc-scrollbar-md !pb-2 items-center w-full bg-white p-4 xs:p-0"
>

1
packages/nocodb/src/controllers/audits.controller.ts

@ -61,6 +61,7 @@ export class AuditsController {
@Request() req,
@Body() body: any,
) {
console.log('heeeeeeeee')
return await this.auditsService.commentUpdate({
auditId,
userEmail: req.user?.email,

Loading…
Cancel
Save