Skip to content

Commit

Permalink
feat: allow both string and number ids in cover
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Jun 15, 2021
1 parent f55d136 commit 52f1657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/cover/CoverComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class CoverComponent extends Component<CoverConfiguration> {
.subscribe(
(items: ImagesContract): void => {
for (const item of items) {
if (item.node_id !== id) {
if (item.node_id != id) {
continue;
}

Expand Down

0 comments on commit 52f1657

Please sign in to comment.