add analytic patches

This commit is contained in:
Stewart Allen 2022-01-11 21:04:24 -05:00
commit fb5e598d9e
4 changed files with 20 additions and 16 deletions

View file

@ -263,7 +263,7 @@ function ui_build() {
// map groups to divs
let groups = api.group.list()
.map(g => h.div([
h.button({ _: `group`, title: g.id,
h.button({ _: g.name || `group`, title: g.id,
class: [ "group", selHas(g) ? 'selected' : undefined ],
onclick(e) {
e.shiftKey ? api.selection.toggle(g) : api.selection.set([g])