diff --git a/ui/src/elements/how-tree.ts b/ui/src/elements/how-tree.ts index 719be29..17ee98f 100644 --- a/ui/src/elements/how-tree.ts +++ b/ui/src/elements/how-tree.ts @@ -15,6 +15,7 @@ import { HowNode } from "./how-node"; import { EntryHashB64, encodeHashToBase64 } from "@holochain/client"; //import {Button, Dialog, TextField, Fab, Slider} from "@scoped-elements/material-web"; import { consume } from '@lit/context'; +import {ifDefined} from 'lit/directives/if-defined.js'; /** * @element how-tree @@ -57,7 +58,7 @@ export class HowTree extends ScopedElementsMixin(LitElement) {
  • this.select(nodeId)}>
    - +
    ${node.id=="0" ? this._store.treeName : node.val.name}