UI: handle missing smart cost limit (#13857)
This commit is contained in:
parent
5750d0d1e9
commit
df4b8baf5b
4 changed files with 2 additions and 7 deletions
|
|
@ -182,7 +182,7 @@ export default {
|
|||
phaseRemaining: Number,
|
||||
pvRemaining: Number,
|
||||
pvAction: String,
|
||||
smartCostLimit: Number,
|
||||
smartCostLimit: { type: Number, default: 0 },
|
||||
smartCostType: String,
|
||||
smartCostActive: Boolean,
|
||||
tariffGrid: Number,
|
||||
|
|
|
|||
|
|
@ -63,9 +63,7 @@ export default {
|
|||
props: {
|
||||
loadpoints: Array,
|
||||
vehicles: Array,
|
||||
smartCostLimit: Number,
|
||||
smartCostType: String,
|
||||
smartCostActive: Boolean,
|
||||
tariffGrid: Number,
|
||||
tariffCo2: Number,
|
||||
currency: String,
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
class="mt-1 mt-sm-2 flex-grow-1"
|
||||
:loadpoints="loadpoints"
|
||||
:vehicles="vehicleList"
|
||||
:smartCostLimit="smartCostLimit"
|
||||
:smartCostType="smartCostType"
|
||||
:smartCostActive="smartCostActive"
|
||||
:tariffGrid="tariffGrid"
|
||||
:tariffCo2="tariffCo2"
|
||||
:currency="currency"
|
||||
|
|
@ -97,7 +95,6 @@ export default {
|
|||
uploadProgress: Number,
|
||||
sponsor: String,
|
||||
sponsorTokenExpires: Number,
|
||||
smartCostLimit: Number,
|
||||
smartCostType: String,
|
||||
smartCostActive: Boolean,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ export default {
|
|||
components: { TariffChart },
|
||||
mixins: [formatter],
|
||||
props: {
|
||||
smartCostLimit: { type: Number, default: 0 },
|
||||
smartCostLimit: Number,
|
||||
smartCostType: String,
|
||||
tariffGrid: Number,
|
||||
currency: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue