diff --git a/assets/js/components/TargetCharge.vue b/assets/js/components/TargetCharge.vue index 9e5ab0e13..aa83850ce 100644 --- a/assets/js/components/TargetCharge.vue +++ b/assets/js/components/TargetCharge.vue @@ -178,7 +178,7 @@ export default { }, costLimitText: function () { if (this.isCo2) { - this.$t("main.targetCharge.co2Limit", { + return this.$t("main.targetCharge.co2Limit", { co2: this.fmtCo2Short(this.smartCostLimit), }); } diff --git a/cmd/demo.yaml b/cmd/demo.yaml index 6419de787..1623c3379 100644 --- a/cmd/demo.yaml +++ b/cmd/demo.yaml @@ -257,6 +257,6 @@ tariffs: feedin: type: fixed price: 0.08 # EUR/kWh - planner: + co2: type: grünstromindex zip: 12349