From 36dbf379b1a9350a7c5edd257660e987a9de11ac Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 25 Sep 2023 03:11:22 +0530 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7e9d3ac..fc60d16 100644 --- a/index.html +++ b/index.html @@ -2856,8 +2856,8 @@ let filteredSmartContracts = floGlobals.smartContracts || []; if (type) { filteredSmartContracts = filteredSmartContracts.filter(sc => { - if (type === 'external-trigger') { - return sc.status !== 'active'; // only inactive contracts can be triggered externally + if (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; } else {