aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-13 20:02:42 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-13 20:02:42 +0200
commit0b198e08888830890622e983445c75f947186b4c (patch)
tree562eb58178c57f44c885adbf2bf52c578f1a32a8 /pages
parentd3b49c0a2fb5d8a888e533fd63545103abd919c5 (diff)
refactor work queue
Diffstat (limited to 'pages')
-rw-r--r--pages/confirm-create-reserve.tsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx
index 3b5a4d161..9bff0e42a 100644
--- a/pages/confirm-create-reserve.tsx
+++ b/pages/confirm-create-reserve.tsx
@@ -172,7 +172,7 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
renderAdvanced(): JSX.Element {
- if (this.detailCollapsed() && this.url() !== null) {
+ if (this.detailCollapsed() && this.url() !== null && !this.statusString()) {
return (
<button className="linky"
onClick={() => this.detailCollapsed(false)}>
@@ -224,6 +224,13 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
<em>{shortName}</em>
</p>;
}
+ if (this.statusString()) {
+ return (
+ <p>
+ <strong style="color: red;">A problem occured, see below.</strong>
+ </p>
+ );
+ }
return (
<p>
Information about fees will be available when an exchange provider is selected.