Display reported backend as title
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Erki Aas 2022-12-12 23:22:17 +02:00
parent 918401ab42
commit a918e50e2d
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<Datepicker class="ma-2" :refresh="refreshFilterState" />
</v-col>
<v-col cols="12" sm="2" class="d-flex justify-center flex-wrap">
<h1 class="app-title"> Logmower </h1>
<h1 class="app-title"> {{ title }} </h1>
</v-col>
<v-col cols="12" sm="5" class="d-flex justify-end flex-wrap align-center">
<ConnectionMonitor @setup-stream="setupStream" />
@ -35,7 +35,8 @@ export default {
VBtn
},
props: {
refreshFilterState: Function
refreshFilterState: Function,
title: String
},
computed: {
...mapGetters([

View File

@ -1,6 +1,6 @@
<template>
<div style="height: 100%; width: 100%;" v-resize="onResize">
<Header :refresh-filter-state="refreshFilterState" @setup-stream="setupStream" />
<Header :refresh-filter-state="refreshFilterState" :title="backend" @setup-stream="setupStream" />
<ag-grid-vue
v-if="columnDefs"
style="width: 100%; height: calc(100% - 52px);"