Merge branch 'master' into GlobalToCToggles

This commit is contained in:
Trevor Buckner authored and GitHub committed 2024-09-06 16:36:02 -04:00
commit fb843ef3c1
1 file changed
+1 -1
@@ -70,7 +70,7 @@ const Snippetbar = createClass({
mergeCustomizer : function(oldValue, newValue, key) {
if(key == 'snippets') {
const result = _.reverse(_.unionBy(_.reverse(newValue), _.reverse(oldValue), 'name')); // Join snippets together, with preference for the child theme over the parent theme
return result.filter(snip.gen || snip.subsnippets);
return result.filter(snip => snip.gen || snip.subsnippets);
}
},