Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #137 from janodvarko/bug1307879-1
Browse files Browse the repository at this point in the history
Include all properties from Event grip (getGripPreviewItems)
  • Loading branch information
nchevobbe authored Apr 25, 2017
2 parents bd50321 + ed490e4 commit d025ec4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/reps/rep-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ function getGripPreviewItems(grip) {

// Event Grip
if (grip.preview && grip.preview.target) {
return [grip.preview.target];
let keys = Object.keys(grip.preview.properties);
let values = Object.values(grip.preview.properties);
return [grip.preview.target, ...keys, ...values];
}

// RegEx Grip
Expand Down

0 comments on commit d025ec4

Please sign in to comment.