Skip to content
This repository was archived by the owner on Feb 9, 2020. It is now read-only.

Commit 8c6cecc

Browse files
gary-bSomeKittens
authored andcommitted
fix(background.js) take descriptor from correct place
When opening dev tools for the first time the scopeTree did not show descriptors. This was caused by the code looking in the wrong place for the descriptor.
1 parent 2f6cab5 commit 8c6cecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function bufferData(tabId, message) {
6565
scope.models[message.data.path] = (typeof message.data.value === 'undefined') ?
6666
undefined : message.data.value;
6767
} else if (message.event === 'scope:link') {
68-
scope.descriptor = message.descriptor;
68+
scope.descriptor = message.data.descriptor;
6969
}
7070
}
7171

0 commit comments

Comments
 (0)