@mjhls/mjh-framework 1.0.180 → 1.0.181
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.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React__default, { Component, useState, useEffect, useRef,
|
|
1
|
+
import React__default, { Component, useState, useEffect, useRef, createContext, createElement } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import reactDom from 'react-dom';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
@@ -29470,7 +29470,7 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
29470
29470
|
subTaxonomies={props.subTaxonomies}
|
|
29471
29471
|
/>
|
|
29472
29472
|
*/
|
|
29473
|
-
if (subTaxonomies.length === 0) {
|
|
29473
|
+
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29474
29474
|
if (parentTaxonomy.identifier == exclude) {
|
|
29475
29475
|
return '';
|
|
29476
29476
|
}
|