Skip to content

Commit

Permalink
address new webapp source code issues
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Sep 4, 2024
1 parent 5cb9b75 commit 67c03f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions webapp/src/views/PowerLimiterAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ export default defineComponent({
if (newInverters.includes(this.additionalInverterSerial)) { return; }
this.additionalInverterSerial = newInverters.length > 0 ? newInverters[0] : "";
},
'powerLimiterConfigList.inverter_serial_for_dc_voltage'(newValue, oldValue) {
'powerLimiterConfigList.inverter_serial_for_dc_voltage'(newValue) {
if (newValue === '') { return; } // do no inspect placeholder value
const managedInverters = this.powerLimiterConfigList.inverters;
Expand Down Expand Up @@ -629,7 +629,6 @@ export default defineComponent({
return this.powerLimiterMetaData.power_meter_enabled;
},
canUseSolarPassthrough() {
const cfg = this.powerLimiterConfigList;
const meta = this.powerLimiterMetaData;
return this.isEnabled() && meta.charge_controller_enabled && this.batteryPoweredInverterConfigured();
},
Expand Down Expand Up @@ -704,7 +703,7 @@ export default defineComponent({
editSubmit() {
this.modalEdit.hide();
let cfg = this.powerLimiterConfigList;
const cfg = this.powerLimiterConfigList;
let assigned = false;
for (const inverter of cfg.inverters) {
Expand Down

0 comments on commit 67c03f5

Please sign in to comment.