diff options
Diffstat (limited to 'vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala')
-rw-r--r-- | vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala b/vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala index 220a7b8..c9a5c90 100644 --- a/vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala +++ b/vfd-dashboard/src/main/scala/vfd/dashboard/ui/panels/Communication.scala @@ -4,7 +4,6 @@ import org.mavlink.messages.Heartbeat import org.mavlink.messages.Motor import org.mavlink.messages.Power import org.scalajs.dom.html - import rx.core.Obs import scalatags.JsDom.all.bindNode import scalatags.JsDom.all.`class` @@ -26,10 +25,11 @@ import vfd.dashboard.ui.components.Balance import vfd.dashboard.ui.components.Bar import vfd.dashboard.ui.components.Generic import vfd.dashboard.ui.components.Led +import scalatags.jsdom.Frag object Communication { - def apply(socket: MavlinkSocket)(implicit app: Environment): html.Element = { + def apply(socket: MavlinkSocket)(implicit app: Environment): Frag = { val hb = i(`class` := "fa fa-heart heartbeat").render @@ -107,7 +107,7 @@ object Communication { tr( td(motor2.element), td(), - td(motor3.element))))).render + td(motor3.element))))) } }
\ No newline at end of file |