Skip to content

Commit 51d964d

Browse files
SHENGXING LUSHENGXING LU
authored andcommitted
FIX: enabled chars in price component selection
1 parent daac066 commit 51d964d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/shared/forms/offer/price-plans/price-component-drawer/price-component-drawer.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ export class PriceComponentDrawerComponent implements OnInit {
6363
}, 50);
6464

6565
for(let i=0;i<this.prodChars.length;i++){
66-
if (!certifications.some(certification => certification.name === this.prodChars[i].name) && !this.prodChars[i].name.startsWith('Compliance:')) {
66+
if (!certifications.some(certification => certification.name === this.prodChars[i].name) && !this.prodChars[i].name.startsWith('Compliance:') &&
67+
!this.prodChars[i].name.endsWith(' - enabled')) {
6768
this.filteredChars.push(this.prodChars[i]);
6869
}
6970
}

0 commit comments

Comments
 (0)