Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
6db2c491
Commit
6db2c491
authored
7 years ago
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subscribe to error message instead of description
parent
49ddd707
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
dashboard.component.ts
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
+2
-2
history.component.ts
Breeze.UI/src/app/wallet/history/history.component.ts
+1
-1
receive.component.ts
Breeze.UI/src/app/wallet/receive/receive.component.ts
+1
-1
send.component.ts
Breeze.UI/src/app/wallet/send/send.component.ts
+3
-3
status-bar.component.ts
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
+1
-1
transaction-details.component.ts
...llet/transaction-details/transaction-details.component.ts
+1
-1
No files found.
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
View file @
6db2c491
...
...
@@ -76,7 +76,7 @@ export class DashboardComponent implements OnInit {
}
else
{
if
(
error
.
json
().
errors
[
0
].
description
)
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
else
{
this
.
cancelSubscriptions
();
this
.
startSubscriptions
();
...
...
@@ -113,7 +113,7 @@ export class DashboardComponent implements OnInit {
}
else
{
if
(
error
.
json
().
errors
[
0
].
description
)
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
else
{
this
.
cancelSubscriptions
();
this
.
startSubscriptions
();
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/wallet/history/history.component.ts
View file @
6db2c491
...
...
@@ -66,7 +66,7 @@ export class HistoryComponent {
}
else
{
if
(
error
.
json
().
errors
[
0
].
description
)
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
else
{
this
.
cancelSubscriptions
();
this
.
startSubscriptions
();
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/wallet/receive/receive.component.ts
View file @
6db2c491
...
...
@@ -47,7 +47,7 @@ export class ReceiveComponent {
console
.
log
(
error
);
}
else
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/wallet/send/send.component.ts
View file @
6db2c491
...
...
@@ -114,7 +114,7 @@ export class SendComponent implements OnInit {
console
.
log
(
error
);
}
else
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
}
},
...
...
@@ -154,7 +154,7 @@ export class SendComponent implements OnInit {
console
.
log
(
error
);
}
else
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
}
},
...
...
@@ -194,7 +194,7 @@ export class SendComponent implements OnInit {
console
.
log
(
error
);
}
else
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
}
},
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
View file @
6db2c491
...
...
@@ -70,7 +70,7 @@ export class StatusBarComponent implements OnInit {
}
else
{
if
(
error
.
json
().
errors
[
0
].
description
)
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
else
{
this
.
cancelSubscriptions
();
this
.
startSubscriptions
();
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.ts
View file @
6db2c491
...
...
@@ -59,7 +59,7 @@ export class TransactionDetailsComponent implements OnInit, OnDestroy {
}
else
{
if
(
error
.
json
().
errors
[
0
].
description
)
{
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
description
);
this
.
genericModalService
.
openModal
(
null
,
error
.
json
().
errors
[
0
].
message
);
}
else
{
this
.
cancelSubscriptions
();
this
.
startSubscriptions
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment