Skip to content

Commit

Permalink
Merge pull request #17 from BuoyantIO/flynn/1.2.4
Browse files Browse the repository at this point in the history
[gui] Only show the user in grey if it's "unknown".
  • Loading branch information
kflynn authored May 3, 2024
2 parents bf810aa + acf788e commit 123709f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,13 @@ <H1>Faces</H1>
}

start() {
this.userDiv.innerHTML = `<span style="color:${Cell.colors.grey}">User: ${this.user}</span>`
let color = "#000000";

if (this.user == "unknown") {
color = Cell.colors.grey;
}

this.userDiv.innerHTML = `<span style="color:${color}">User: ${this.user}</span>`
}

// stop() {
Expand Down

0 comments on commit 123709f

Please sign in to comment.