Skip to content

Commit

Permalink
app: Adjusted settings app connection status renderer for visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cederberg committed Dec 16, 2023
1 parent f3d878a commit af4256c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/settings/files/app/settings/tab-connection.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ function openRenderer(td, value, data) {
let arr = [data._usedChannels, data._openChannels, data._maxOpen];
td.innerHTML = arr.join('<span class="separator">/</span>');
if (data._openChannels >= data._maxOpen) {
td.classList.add('color-danger');
td.classList.add('color-danger bg-danger');
} else if (data._openChannels >= data._maxOpen * 0.75) {
td.classList.add('color-warning');
td.classList.add('color-warning bg-warning');
}
}

Expand Down

0 comments on commit af4256c

Please sign in to comment.