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>
</div> </div>
<NcButton <NcButton
v-if="log.user === user!.email && !editLog && !appInfo.ee" v-if="log.user === user!.email && !editLog"
v-e="['c:row-expand:comment:edit']" v-e="['c:row-expand:comment:edit']"
type="secondary" type="secondary"
class="!px-2 opacity-0 group-hover:opacity-100 transition-all" 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, 'w-2/3': showRightSections,
}" }"
> >
{{ rowId }}{{ _row }}
<div <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" 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, @Request() req,
@Body() body: any, @Body() body: any,
) { ) {
console.log('heeeeeeeee')
return await this.auditsService.commentUpdate({ return await this.auditsService.commentUpdate({
auditId, auditId,
userEmail: req.user?.email, userEmail: req.user?.email,

Loading…
Cancel
Save