From a8d7b44b3abbb25963b90a26defd306d11b4fbd3 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Thu, 17 Oct 2024 18:52:59 +0530 Subject: [PATCH] Fix free plugin checks --- src/Installer/components/App/index.jsx | 2 +- src/Scripts/dataAttrListener.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Installer/components/App/index.jsx b/src/Installer/components/App/index.jsx index 36776d3..ea4fd32 100644 --- a/src/Installer/components/App/index.jsx +++ b/src/Installer/components/App/index.jsx @@ -33,7 +33,7 @@ const App = () => { return (
- { pluginSlug && ( + { ( pluginSlug || pluginDownloadUrl ) && ( { el.getAttribute( 'data-nfd-installer-plugin-url' ); // Is free plugin - if ( el.hasAttribute( 'data-nfd-installer-download-url' ).length ) { + if ( el.hasAttribute( 'data-nfd-installer-download-url' ) ) { dispatchEvent( { action: 'installFreePlugin', pluginName: el.getAttribute(