We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bddc9ec commit 2ffccfeCopy full SHA for 2ffccfe
src/helpers/rearrange.js
@@ -7,7 +7,7 @@ module.exports = (collection, property, orderSpec) => {
7
const restIdx = order.indexOf('*')
8
if (~restIdx) order.splice(restIdx, 1)
9
const targetCollection = order.reduce((accum, key) => {
10
- if (key.startsWith('-')) {
+ if (key.startsWith('!')) {
11
sourceCollection.delete(key.substr(1))
12
} else if (sourceCollection.has(key)) {
13
accum.push(sourceCollection.get(key))
0 commit comments