diff --git a/package.json b/package.json
index 1b2cdf9e9..bf27ba56a 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
"@jahia/design-system-kit": "^1.1.8",
"@jahia/icons": "^1.1.2",
"@jahia/jahia-reporter": "^1.0.3",
- "@jahia/moonstone": "^2.7.4",
+ "@jahia/moonstone": "^2.8.0",
"@jahia/react-material": "^3.0.5",
"@jahia/ui-extender": "^1.1.0",
"@material-ui/core": "^3.9.3",
diff --git a/src/javascript/utils/NodeIcon.jsx b/src/javascript/utils/NodeIcon.jsx
index 9f16258f4..ae6115f0a 100644
--- a/src/javascript/utils/NodeIcon.jsx
+++ b/src/javascript/utils/NodeIcon.jsx
@@ -1,6 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import {
+ Area,
File,
FileCode,
FileCompresed,
@@ -209,6 +210,10 @@ export const NodeIcon = ({node, ...props}) => {
return ;
}
+ if (node?.mixinTypes?.find(m => m.name && m.name === 'jmix:isAreaList')) {
+ return ;
+ }
+
switch (node.primaryNodeType.name) {
case 'jnt:folder':
return ;
@@ -230,7 +235,8 @@ NodeIcon.propTypes = {
path: PropTypes.string,
primaryNodeType: PropTypes.object,
content: PropTypes.object,
- resourceChildren: PropTypes.object
+ resourceChildren: PropTypes.object,
+ mixinTypes: PropTypes.array
}).isRequired
};
diff --git a/yarn.lock b/yarn.lock
index c9239f353..5b1b592f2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2557,10 +2557,10 @@
uuid "^8.3.1"
xml-js "^1.6.11"
-"@jahia/moonstone@^2.7.4":
- version "2.7.4"
- resolved "https://npm.jahia.com/@jahia%2fmoonstone/-/moonstone-2.7.4.tgz#ec7f7bae2b076597bcfef7dd8d7ecb7e79f859c7"
- integrity sha512-zfqSvBRaJM1jfkac5h7/Iqu1+OvdBE3quwI+hBj4cL8/vx5hXFatYRfp3SkReDMCIMZcmkAdqFQwN3g6jv6RfA==
+"@jahia/moonstone@^2.8.0":
+ version "2.8.0"
+ resolved "https://npm.jahia.com/@jahia%2fmoonstone/-/moonstone-2.8.0.tgz#5e42b8ce60fb885322ee38dcc800117120b327a9"
+ integrity sha512-PdLZgFp+gxcbLHXHCX6VOpUy0G7nCLZqJEd+ax9Qd6ObcTKYP1nJoAbolqjFPR2JEitJrQV5Qxb/8AJeIjQj+Q==
dependencies:
"@babel/runtime" "^7.23.2"
"@jahia/scripts" "^1.3.3"