Update index.html
This commit is contained in:
parent
deb352cf03
commit
008231738e
@ -2856,7 +2856,7 @@
|
|||||||
let filteredSmartContracts = floGlobals.smartContracts || [];
|
let filteredSmartContracts = floGlobals.smartContracts || [];
|
||||||
if (type) {
|
if (type) {
|
||||||
filteredSmartContracts = filteredSmartContracts.filter(sc => {
|
filteredSmartContracts = filteredSmartContracts.filter(sc => {
|
||||||
if (type === 'external-trigger') {
|
if (subType && subType === 'external-trigger') {
|
||||||
return sc.status === 'expired'; // only inactive contracts can be triggered externally
|
return sc.status === 'expired'; // only inactive contracts can be triggered externally
|
||||||
} else if (type === 'continuos-event' && dynamic) {
|
} else if (type === 'continuos-event' && dynamic) {
|
||||||
return sc.status === 'active' && sc.contractType === type && sc.oracle_address;
|
return sc.status === 'active' && sc.contractType === type && sc.oracle_address;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user