Browse Source

fix: small changes

pull/7558/head
Ramesh Mane 9 months ago
parent
commit
109b962586
  1. 4
      packages/nc-gui/composables/useMultiSelect/index.ts
  2. 3
      packages/nocodb/src/db/BaseModelSqlv2.ts

4
packages/nc-gui/composables/useMultiSelect/index.ts

@ -17,6 +17,7 @@ import {
isMac,
isTypableInputColumn,
message,
parseProp,
reactive,
ref,
unref,
@ -28,7 +29,6 @@ import {
useI18n,
useMetas,
useUndoRedo,
parseProp,
} from '#imports'
const MAIN_MOUSE_PRESSED = 0
@ -950,8 +950,8 @@ export function useMultiSelect(
},
])
} catch {
console.log('catch')
rowObj.row[columnObj.title!] = oldCellValue
return
}
if (result && result?.link && result?.unlink && Array.isArray(result.link) && Array.isArray(result.unlink)) {

3
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -1379,7 +1379,8 @@ class BaseModelSqlv2 {
if (!selectAllRecords) {
qb.limit(+rest?.limit || 25);
}
qb.offset(+rest?.offset || 0);
qb.offset(selectAllRecords ? 0 : +rest?.offset || 0);
const children = await this.execAndParse(qb, await childTable.getColumns());
const proto = await (

Loading…
Cancel
Save