|
|
@ -1748,17 +1748,16 @@ onKeyStroke('ArrowDown', onDown) |
|
|
|
{{ $t('general.clear') }} |
|
|
|
{{ $t('general.clear') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
<NcDivider /> |
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
<template v-if="contextMenuTarget && selectedRange.isSingleCell() && isUIAllowed('commentEdit') && !isMobileMode"> |
|
|
|
v-if="contextMenuTarget && selectedRange.isSingleCell() && isUIAllowed('commentEdit') && !isMobileMode" |
|
|
|
<NcDivider /> |
|
|
|
class="nc-base-menu-item" |
|
|
|
<NcMenuItem class="nc-base-menu-item" @click="commentRow(contextMenuTarget.row)"> |
|
|
|
@click="commentRow(contextMenuTarget.row)" |
|
|
|
<div v-e="['a:row:comment']" class="flex gap-2 items-center"> |
|
|
|
> |
|
|
|
<MdiMessageOutline class="h-4 w-4" /> |
|
|
|
<div v-e="['a:row:comment']" class="flex gap-2 items-center"> |
|
|
|
{{ $t('general.comment') }} |
|
|
|
<MdiMessageOutline class="h-4 w-4" /> |
|
|
|
</div> |
|
|
|
{{ $t('general.comment') }} |
|
|
|
</NcMenuItem> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="hasEditPermission"> |
|
|
|
<template v-if="hasEditPermission"> |
|
|
|
<NcDivider v-if="!(!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected))" /> |
|
|
|
<NcDivider v-if="!(!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected))" /> |
|
|
|