We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92df942 commit 0a6203cCopy full SHA for 0a6203c
src/compas-editors/autogen-substation.ts
@@ -348,7 +348,7 @@ export default class CompasAutogenerateSubstation extends LitElement {
348
extractNames(content: string[]) {
349
//return list of names after filtering out the empty and duplicate elements
350
return content.filter(
351
- (value, index) => value && content.indexOf(<string>value) === index
+ (value, index) => value && content.indexOf(value) === index
352
);
353
}
354
0 commit comments