From afbab04f65b9b7b518ae9375422d496c6de34caa Mon Sep 17 00:00:00 2001 From: Eric Harris-Braun Date: Wed, 31 Jan 2024 10:51:31 -0500 Subject: [PATCH] fix bug where only stewards can create children --- ui/src/elements/how-unit.ts | 2 +- we_dev/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/elements/how-unit.ts b/ui/src/elements/how-unit.ts index 6547115..aff7698 100644 --- a/ui/src/elements/how-unit.ts +++ b/ui/src/elements/how-unit.ts @@ -209,7 +209,7 @@ export class HowUnit extends ScopedElementsMixin(LitElement) { } else { state = unitInfo.state } - if ( (state == SysState.UnderConstruction || state == SysState.Alive) && isSteward) { + if ( (state == SysState.UnderConstruction || state == SysState.Alive)) { controlsHTML.push(html` this.dispatchEvent(new CustomEvent('add-child', { detail: this.currentUnitEh, bubbles: true, composed: true }))} diff --git a/we_dev/config.json b/we_dev/config.json index 6a4b0fd..4824211 100644 --- a/we_dev/config.json +++ b/we_dev/config.json @@ -62,7 +62,7 @@ }, "source": { "type": "localhost", - "happPath": "./workdir/how.happ", + "happPath": "/home/eric/code/metacurrency/holochain/how/workdir/how.happ", "uiPort": 8888 } },