From e7f0eb30d7931c3b197ad358d921744ae9629b07 Mon Sep 17 00:00:00 2001 From: Mic Date: Thu, 4 Sep 2025 22:31:00 +0200 Subject: [PATCH] checkSpecificIntegration method added --- js/mzta-utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/mzta-utils.js b/js/mzta-utils.js index ad483f7d..c28c1814 100644 --- a/js/mzta-utils.js +++ b/js/mzta-utils.js @@ -578,6 +578,10 @@ export function getActiveSpecialPromptsIDs(args = {}) { return output; } +export function checkSpecificIntegration(use, conntype){ + return use && (conntype != null) && (conntype !== ''); +} + export function extractJsonObject(inputString) { try { const jsonMatch = inputString.match(/\{[\s\S]*\}/);