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]*\}/);