Skip to content

Commit 2295e50

Browse files
committed
do not relink _categoryMap on matching axes
1 parent aa3527f commit 2295e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/relink_private.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function relinkPrivateKeys(toContainer, fromContainer) {
2525
var toVal = toContainer[k];
2626

2727
if(toVal === fromVal) continue;
28-
if(k !== '_categories' && toContainer.matches) continue;
28+
if(toContainer.matches && k === '_categoriesMap') continue;
2929

3030
if(k.charAt(0) === '_' || typeof fromVal === 'function') {
3131
// if it already exists at this point, it's something

0 commit comments

Comments
 (0)