From 2195e828be8ea50e8dd141d7360311914e1694e5 Mon Sep 17 00:00:00 2001 From: akarmanov Date: Tue, 5 Nov 2024 07:31:17 -0500 Subject: [PATCH] BACKLOG-23365 Allow to compare jmix:mainResource --- .../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} } );