Skip to content

Commit

Permalink
fix(cc-logs-instances): fix instance selection
Browse files Browse the repository at this point in the history
  • Loading branch information
pdesoyres-cc committed Apr 11, 2024
1 parent b09c8b8 commit 3ff0206
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/cc-logs-instances/cc-logs-instances.js
Expand Up @@ -310,9 +310,9 @@ export class CcLogsInstances extends LitElement {
<cc-notice intent="info" message="${i18n('cc-logs-instances.ghost.notice')}"></cc-notice>
<div class="instances instances--ghost">
${instances.sort(GHOST_INSTANCE_SORT_ORDER).map((instance) => html`
<label class="instance" for="instance-${instance.id}">
<label class="instance" for="${instance.id}">
<input type="checkbox"
id="instance-${instance.id}"
id="${instance.id}"
.checked=${this._isSelected(instance.id)}
@change=${this._onInstanceClick}>
<span class="instance-id">${instance.id}</span>
Expand Down Expand Up @@ -381,9 +381,9 @@ export class CcLogsInstances extends LitElement {
*/
_renderInstance (instance, renderState) {
return html`
<label class="instance" for="instance-${instance.id}">
<label class="instance" for="${instance.id}">
<input type="checkbox"
id="instance-${instance.id}"
id="${instance.id}"
.checked=${this._isSelected(instance.id)}
@change=${this._onInstanceClick}>
<span class="instance-name">${instance.name}</span>
Expand Down

0 comments on commit 3ff0206

Please sign in to comment.