Browse Source

feat(nocodb): add grp_column_id to updateObj in KanbanView

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
ea06b8d486
  1. 4
      packages/nocodb/src/lib/models/KanbanView.ts

4
packages/nocodb/src/lib/models/KanbanView.ts

@ -9,6 +9,7 @@ export default class KanbanView implements KanbanType {
title: string; title: string;
project_id?: string; project_id?: string;
base_id?: string; base_id?: string;
grp_column_id?: string;
// TODO: check these // TODO: check these
show: boolean; show: boolean;
@ -68,9 +69,8 @@ export default class KanbanView implements KanbanType {
// get existing cache // get existing cache
const key = `${CacheScope.KANBAN_VIEW}:${kanbanId}`; const key = `${CacheScope.KANBAN_VIEW}:${kanbanId}`;
let o = await NocoCache.get(key, CacheGetType.TYPE_OBJECT); let o = await NocoCache.get(key, CacheGetType.TYPE_OBJECT);
console.log(body);
const updateObj = { const updateObj = {
// TODO: grp_column_id: body.grp_column_id,
}; };
if (o) { if (o) {
o = { ...o, ...updateObj }; o = { ...o, ...updateObj };

Loading…
Cancel
Save