From 008231738e7f8e6bd3d3485b4d1a0671250fcd4c Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 25 Sep 2023 03:13:07 +0530 Subject: [PATCH] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 79c6e33..f03990a 100644 --- a/index.html +++ b/index.html @@ -2856,7 +2856,7 @@ let filteredSmartContracts = floGlobals.smartContracts || []; if (type) { filteredSmartContracts = filteredSmartContracts.filter(sc => { - if (type === 'external-trigger') { + if (subType && subType === 'external-trigger') { return sc.status === 'expired'; // only inactive contracts can be triggered externally } else if (type === 'continuos-event' && dynamic) { return sc.status === 'active' && sc.contractType === type && sc.oracle_address;