'use strict' /* Open Rowing Monitor, https://github.com/laberning/openrowingmonitor Component that renders the dashboard */ import { AppElement, html, css } from './AppElement' import { APP_STATE } from '../store/appState' import { customElement, property } from 'lit/decorators.js' import './DashboardMetric' import './DashboardActions' import { icon_route, icon_stopwatch, icon_bolt, icon_paddle, icon_heartbeat, icon_fire, icon_clock } from '../lib/icons' @customElement('performance-dashboard') export class PerformanceDashboard extends AppElement { static get styles () { return css` ` } @property({ type: Object }) metrics @property({ type: Object }) appState = APP_STATE render () { return html` ${this.metrics?.heartrate?.value ? html`` : html``} ` } }