Browse Source

refactor: add some comments

pull/6987/head
Pranav C 1 year ago
parent
commit
957102de7d
  1. 1
      docker-compose/mysql/docker-compose.yml
  2. 2
      packages/nc-gui/components/smartsheet/grid/GroupBy.vue

1
docker-compose/mysql/docker-compose.yml

@ -37,4 +37,3 @@ services:
volumes:
db_data: {}
nc_data: {}

2
packages/nc-gui/components/smartsheet/grid/GroupBy.vue

@ -137,6 +137,8 @@ const onScroll = (e: Event) => {
_scrollLeft.value = (e.target as HTMLElement).scrollLeft
}
// a method to parse group key if grouped column type is LTAR or Lookup
// in these 2 scenario it will return json array or `___` separated value
const parseKey = (group) => {
const key = group.key.toString()

Loading…
Cancel
Save