Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zippy committed Dec 20, 2023
1 parent 0b42071 commit ff0a935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/elements/how-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -57,7 +58,7 @@ export class HowTree extends ScopedElementsMixin(LitElement) {
<li class="${this.treeType}">
<span class="${nodeId == this.currentNode ? "current" : ""}" @click=${()=>this.select(nodeId)}>
<div class="progress" title=${`document count: ${node.val.documents.length}`}>
<how-node .unit=${this._units.value[nodeId]} state=${state} flags=${unitInfo?.flags}> </how-node>
<how-node .unit=${this._units.value[nodeId]} state=${state} flags=${ifDefined(unitInfo?.flags)}> </how-node>
</div>
${node.id=="0" ? this._store.treeName : node.val.name}
<!-- <mwc-button icon="add_circle" @click=${
Expand Down

0 comments on commit ff0a935

Please sign in to comment.