@hestia-earth/glossary 0.82.0 → 0.84.0
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/index.js +1 -1
- package/package.json +1 -1
- package/resources/arrayTreatment.json +1 -1
- package/resources/defaultModelId.json +1 -1
- package/resources/ecoinventMapping.json +1 -1
- package/resources/impactAssessment.json +1 -1
- package/resources/inHestiaDefaultSystemBoundary.json +1 -1
- package/resources/term-order.json +1 -1
- package/resources/term-restrictions.json +1 -1
package/index.js
CHANGED
|
@@ -124,7 +124,7 @@ const getModelGroup = (id, modelId) =>
|
|
|
124
124
|
* @returns {number|list} The index if searching for a specific Term by `@id`, or the ordered list of ids if search by `termType`.
|
|
125
125
|
*/
|
|
126
126
|
const termOrder = ({ "@id": id, termType }) => {
|
|
127
|
-
const data = loadResource("term-order");
|
|
127
|
+
const data = loadResource("term-order.json");
|
|
128
128
|
return termType
|
|
129
129
|
? id
|
|
130
130
|
? data[termType].indexOf(id)
|