Fix kanban update (#3010)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-04-18 14:22:02 +06:00 committed by GitHub
parent da6713e51d
commit 5f0566bb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -208,6 +208,9 @@
if (groupValue === undefined) {
return undefined
}
if ((doc as any)[groupByKey] === groupValue) {
return
}
return {
[groupByKey]: groupValue,
space: doc.space

View File

@ -235,6 +235,9 @@
if (groupValue === undefined) {
return undefined
}
if ((doc as any)[groupByKey] === groupValue) {
return
}
return {
[groupByKey]: groupValue,
space: doc.space