mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 17:10:53 +08:00
This commit is contained in:
parent
fa26c6e4fb
commit
fd17c48e79
@ -115,7 +115,10 @@ export const updateRelation = (options: {
|
|||||||
let colData: IAVColumn;
|
let colData: IAVColumn;
|
||||||
options.colsData.find(item => {
|
options.colsData.find(item => {
|
||||||
if (item.id === colId) {
|
if (item.id === colId) {
|
||||||
colData = item
|
if (!item.relation) {
|
||||||
|
item.relation = {}
|
||||||
|
}
|
||||||
|
colData = item;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
6
app/src/types/index.d.ts
vendored
6
app/src/types/index.d.ts
vendored
@ -1164,7 +1164,7 @@ interface IAVCellAssetValue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface IAVCellRelationValue {
|
interface IAVCellRelationValue {
|
||||||
avID: string
|
avID?: string
|
||||||
backKeyID: string
|
backKeyID?: string
|
||||||
isTwoWay: boolean
|
isTwoWay?: boolean
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user