From def45143a07c7e5871531b91400703b502165e07 Mon Sep 17 00:00:00 2001 From: Alex Karmanov Date: Tue, 5 Nov 2024 09:51:45 -0500 Subject: [PATCH] BACKLOG-23365 Allow to compare jmix:mainResource (#1327) --- .../JContent/actions/compareHtmlAction/compareHtmlAction.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/javascript/JContent/actions/compareHtmlAction/compareHtmlAction.jsx b/src/javascript/JContent/actions/compareHtmlAction/compareHtmlAction.jsx index 578302252..98047adcf 100644 --- a/src/javascript/JContent/actions/compareHtmlAction/compareHtmlAction.jsx +++ b/src/javascript/JContent/actions/compareHtmlAction/compareHtmlAction.jsx @@ -7,7 +7,7 @@ export const CompareHtmlActionComponent = ({path, render: Render, loading: Loadi const res = useNodeChecks( {path}, { - showOnNodeTypes: ['jnt:page'], + showOnNodeTypes: ['jnt:page', 'jmix:mainResource'], getAggregatedPublicationInfo: {subNodes: true} } );