Changeset - 9d3e6bfe30aa
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 20 months ago 2023-05-18 17:25:40
drewp@bigasterisk.com
log
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/live/Light9LiveControls.ts
Show inline comments
 
@@ -99,6 +99,7 @@ export class Light9LiveControls extends 
 
    log(`found ${classes.length} device classes`);
 
    uniq(sortBy(classes, "value"), true).forEach((dc) => {
 
      sortBy(this.graph.subjects(U("rdf:type"), dc), "value").forEach((dev) => {
 
        log(`found dev ${dev.value}`)
 
        this.devices.push(dev as NamedNode);
 
      });
 
    });
 
@@ -127,7 +128,7 @@ export class Light9LiveControls extends 
 
    }
 
    u.searchParams.set("effect", effectStr); // this escapes : and / and i wish it didn't
 
    window.history.replaceState({}, "", u.href);
 
    return log("wrote new url", u.href);
 
    log("wrote new url", u.href);
 
  }
 

	
 
  newEffect() {
0 comments (0 inline, 0 general)