Skip to content

Commit c9a15d4

Browse files
committed
fixes 3288 with allow_duplicates not working with Loading component targets
1 parent 17fca44 commit c9a15d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dash-core-components/src/components/Loading.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ const loadingSelector = (componentPath, targetComponents) => state => {
4545
return false;
4646
}
4747
if (Array.isArray(target)) {
48-
return includes(l.property, target);
48+
return includes(l.property.split('@')[0], target);
4949
}
50-
return l.property === target;
50+
return l.property.split('@')[0] === target;
5151
}, load)
5252
) {
5353
return acc;

0 commit comments

Comments
 (0)