From 3e0990bb53c975df5f8c7106651e12401b85ce1d Mon Sep 17 00:00:00 2001 From: "ICX\\Tatsiana.Hashtold" Date: Mon, 17 Jun 2024 14:51:55 +0300 Subject: [PATCH] added description for renderModalPreview returned value --- src/components/_classes/component/Component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/_classes/component/Component.js b/src/components/_classes/component/Component.js index e3d664e235..a8cb338fb3 100644 --- a/src/components/_classes/component/Component.js +++ b/src/components/_classes/component/Component.js @@ -1179,7 +1179,7 @@ export default class Component extends Element { /** * Renders a modal preview template and returns the markup as a string * @param {object|null|undefined} ctx - The rendering context - * @return {string} + * @return {string} - The modal preview markup */ renderModalPreview(ctx) { return this.renderTemplate('modalPreview', ctx || {});