Skip to content

Commit

Permalink
Dont splie
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Larsson committed Apr 20, 2020
1 parent 9e945f4 commit c5ec6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/vasttrafik-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class VasttrafikCard extends LitElement {
throw new Error("Specify at least one entity!");
}

const entities = config.entities.splice().map(entity => {
const entities = config.entities.map(entity => {
if (typeof config.entities[i] === 'string') {
return {'id': config.entities[i], 'delay': 0};
} else {
Expand Down

0 comments on commit c5ec6bf

Please sign in to comment.