feat: Added a conflict resolution dialog and a Conflicts view for easier management of conflicts (#2337)
This commit is contained in:
@@ -10,6 +10,14 @@ export class UuidMap {
|
||||
/** uuid to uuids that have a relationship with us */
|
||||
private inverseMap: Partial<Record<string, string[]>> = {}
|
||||
|
||||
public get directMapSize(): number {
|
||||
return Object.keys(this.directMap).length
|
||||
}
|
||||
|
||||
public get inverseMapSize(): number {
|
||||
return Object.keys(this.inverseMap).length
|
||||
}
|
||||
|
||||
public makeCopy(): UuidMap {
|
||||
const copy = new UuidMap()
|
||||
copy.directMap = Object.assign({}, this.directMap)
|
||||
|
||||
Reference in New Issue
Block a user