Browse Source

Merge pull request #3448 from nocodb/fix/3437-record-index

fix(gui-v2): show record index always if grid in readonly mode
pull/3449/head
navi 2 years ago committed by GitHub
parent
commit
77138e675a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui-v2/components/smartsheet/Grid.vue

4
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -397,7 +397,7 @@ const showContextMenu = (e: MouseEvent, target?: { row: number; col: number }) =
<div
v-if="!readOnly || !isLocked"
class="nc-row-no text-xs text-gray-500"
:class="{ hidden: row.rowMeta.selected }"
:class="{ toggle: !readOnly, hidden: row.rowMeta.selected }"
>
{{ rowIndex + 1 }}
</div>
@ -620,7 +620,7 @@ const showContextMenu = (e: MouseEvent, target?: { row: number; col: number }) =
}
&:hover {
.nc-row-no {
.nc-row-no.toggle {
@apply hidden;
}

Loading…
Cancel
Save