Time Range:
${(['1m', '5m', '15m', '1h', '24h'] as const).map(range => html`
this.handleTimeRangeChange(range)}
.type=${this.selectedTimeRange === range ? 'highlighted' : 'normal'}
>
${range}
`)}
Protocol:
this.selectedProtocol = e.detail.key}
>
this.refreshData()}
.disabled=${this.isLoading}
>
${this.isLoading ? html`` : 'Refresh'}