Skip to content

Commit 0a6203c

Browse files
authored
Update autogen-substation.ts
Signed-off-by: Steffen van den Driest <[email protected]>
1 parent 92df942 commit 0a6203c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas-editors/autogen-substation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export default class CompasAutogenerateSubstation extends LitElement {
348348
extractNames(content: string[]) {
349349
//return list of names after filtering out the empty and duplicate elements
350350
return content.filter(
351-
(value, index) => value && content.indexOf(<string>value) === index
351+
(value, index) => value && content.indexOf(value) === index
352352
);
353353
}
354354
}

0 commit comments

Comments
 (0)