Skip to content

Commit

Permalink
fix: deliver status button
Browse files Browse the repository at this point in the history
  • Loading branch information
debendraoli committed Dec 5, 2024
1 parent a4fe3f8 commit 9f2fb78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Page/Dashboard/ManualRelayForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ManualRelayForm: React.FC<ManualRelayFormProps> = ({ relayerId, nid }) =>
value={txHash}
onChange={(e) => setTxHash(e.target.value)}
/>
<Button variant="primary" type="submit">
<Button variant="primary" type="submit" disabled={!txHash}>
Relay
</Button>
</InputGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Page/Dashboard/MessageTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const MessageTable: FC<MessageTableProps> = ({ messages }) => {
{dict.dashboard.xcall.actions.deliver}
</DropdownItem>
)}
{message.status === 'delivered' && message.response_tx_hash === '' && (
{message.status === 'delivered' && !message.response_tx_hash && (
<DropdownItem onClick={() => handleShowModal(message)}>
{dict.dashboard.xcall.actions.execute}
</DropdownItem>
Expand Down

0 comments on commit 9f2fb78

Please sign in to comment.