ywana-core8 0.0.516 → 0.0.517
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +1 -6
package/package.json
CHANGED
@@ -213,12 +213,7 @@ export const CollectionTree = (props) => {
|
|
213
213
|
})
|
214
214
|
}
|
215
215
|
|
216
|
-
const items = sorter ? all
|
217
|
-
const labelA = `${a.studio}${a.name}`
|
218
|
-
const labelB = `${b.studio}${b.name}`
|
219
|
-
return labelA.localeCompare(labelB)
|
220
|
-
}) : all
|
221
|
-
|
216
|
+
const items = sorter ? sorter(all) : all
|
222
217
|
const nodes = generateNodes(levels, items)
|
223
218
|
return (
|
224
219
|
<main>
|