File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 icon
5555 v-on =" on"
5656 >
57- <v-icon x-small >{{ mdiCircle }}</v-icon >
57+ <v-icon
58+ v-if =" $store.getters.getHeartbeat.charging"
59+ small
60+ class =" mt-n1"
61+ >{{ mdiBatteryCharging }}</v-icon
62+ >
63+ <v-icon v-else x-small >{{ mdiCircle }}</v-icon >
5864 </v-btn >
5965 </template >
6066 <h4 >Last Heartbeat</h4 >
@@ -201,6 +207,7 @@ import {
201207 mdiLogout ,
202208 mdiDownload ,
203209 mdiFinance ,
210+ mdiBatteryChargingHigh ,
204211 mdiPackageUp ,
205212 mdiPackageDown ,
206213 mdiDotsVertical ,
@@ -223,6 +230,7 @@ export default class MessageThreadHeader extends Vue {
223230 mdiPackageDown = mdiPackageDown
224231 mdiDotsVertical = mdiDotsVertical
225232 mdiCircle = mdiCircle
233+ mdiBatteryCharging = mdiBatteryChargingHigh
226234
227235 get owners(): Array <SelectItem > {
228236 return this .$store .getters .getPhones .map (
Original file line number Diff line number Diff line change 11export interface Heartbeat {
22 id : string
33 owner : string
4+ charging : boolean
45 timestamp : string
56}
You can’t perform that action at this time.
0 commit comments