Skip to content
Snippets Groups Projects

Resolve "PAB : interpoler en tenant compte de la longueur des bassins"

5 files
+ 130
43
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -130,9 +130,12 @@ export class DialogEditPabComponent {
}
public get interpolationEnabled() {
const varDetails = this.findVariableDetails(this.variable);
return (
this.vertical
&& (this.selectedItemsAbstract.devices + this.selectedItemsAbstract.wallsDevices) > 1
&& (varDetails.occurrences > 1)
&& ([ "ZRAM", "ZRMB", "ZDV" ].includes(this.variable))
);
}
Loading