feat: render scalable Alta site and group hierarchy
This commit is contained in:
+2
-2
@@ -75,7 +75,7 @@
|
||||
const identity = createIdentity('site', safe, ordinal, siteOccurrences, diagnostics);
|
||||
const site = makeSite(identity.uniqueId, text(safe.name) || identity.canonicalId, ordinal, {
|
||||
canonicalId: identity.canonicalId,
|
||||
pendingDeletion: safe.pendingDeletion === true,
|
||||
pendingDeletion: safe.pendingDeletion === true || Boolean(text(safe.pendingDeletionStart)),
|
||||
source: safe,
|
||||
});
|
||||
sites.push(site);
|
||||
@@ -105,7 +105,7 @@
|
||||
const group = makeGroup(site, identity.uniqueId, text(safe.name) || identity.canonicalId, ordinal, {
|
||||
canonicalId: identity.canonicalId,
|
||||
rawParentId: parentId,
|
||||
pendingDeletion: safe.pendingDeletion === true,
|
||||
pendingDeletion: safe.pendingDeletion === true || Boolean(text(safe.pendingDeletionStart)),
|
||||
source: safe,
|
||||
});
|
||||
site.groups.push(group);
|
||||
|
||||
Reference in New Issue
Block a user