Give the global dataspace actor a reasonable name

This commit is contained in:
Tony Garnock-Jones 2023-12-20 21:39:07 +13:00
parent 86066a0cd8
commit 8b5486abd8
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ export class Dataspace implements Partial<Entity> {
static get global(): Ref {
if (Dataspace._global === void 0) {
Dataspace.boot(ds => {
Turn.activeFacet.actor.name = Symbol.for('Dataspace.global');
// Cast to any because `global` is otherwise readonly (!)
Dataspace._global = ds;
});