Skip to content

Commit

Permalink
fix: show message if max. end has not been reached
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet committed Oct 25, 2024
1 parent db2dde3 commit 4ca73eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/ui/src/composables/useExecutionActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ export function useExecutionActions(
});

async function fetchEthRelayerExecutionDetails() {
if (currentTimestamp.value < proposal.max_end * 1000) {
message.value =
'This execution strategy requires max end time to be reached.';
}

if (!proposal.execution_tx) return;

const tx = await network.value.helpers.getTransaction(
Expand Down

0 comments on commit 4ca73eb

Please sign in to comment.