mirror of
https://github.com/tloncorp/landscape.git
synced 2025-01-07 17:08:53 +03:00
Merge pull request #202 from tloncorp/hm/show-disconnect-reason
app-search: show connection issues when finished
This commit is contained in:
commit
fb9be7727d
@ -33,7 +33,7 @@ function getCompletedText(status: ConnectionCompleteStatus, ship: string) {
|
||||
case 'no-sponsor-hit':
|
||||
return `${ship}'s sponsor can reach them, but we can't`;
|
||||
default:
|
||||
return 'Unable to connect';
|
||||
return `Unable to connect to ${ship}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,8 +137,7 @@ export const Apps = () => {
|
||||
))}
|
||||
{status === 'error' && (
|
||||
<h2>
|
||||
Unable to connect to{' '}
|
||||
<ShipName name={provider} className="font-mono" />
|
||||
<ShipConnection ship={provider} status={connection?.status} />
|
||||
</h2>
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user