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
b623b067
Commit
b623b067
authored
8 years ago
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix temporary navigation
parent
4b2572dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
db.json
Breeze.UI/db.json
+1
-1
app.component.ts
Breeze.UI/src/app/app.component.ts
+6
-3
No files found.
Breeze.UI/db.json
View file @
b623b067
...
...
@@ -10,7 +10,7 @@
},
"status"
:
{
"success"
:
"
fals
e"
,
"success"
:
"
tru
e"
,
"connectedNodeCount"
:
"7"
,
"maxConnextedNodeCount"
:
"8"
,
"headerChainHeight"
:
"1048"
,
...
...
This diff is collapsed.
Click to expand it.
Breeze.UI/src/app/app.component.ts
View file @
b623b067
...
...
@@ -24,11 +24,14 @@ export class AppComponent implements OnInit {
private
checkWalletStatus
(){
this
.
apiService
.
getWalletStatus
()
.
subscribe
(
response
=>
this
.
response
=
response
.
success
,
error
=>
this
.
errorMessage
=
<
any
>
error
response
=>
this
.
response
=
response
,
error
=>
this
.
errorMessage
=
<
any
>
error
,
()
=>
this
.
navigate
()
);
}
if
(
this
.
response
===
"true"
)
{
private
navigate
()
{
if
(
this
.
response
.
success
===
"true"
)
{
// remote.dialog.showMessageBox({message: remote.app.getPath('userData')})
this
.
router
.
navigate
([
'/login'
])
}
else
{
...
...
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