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
eda831ee
Commit
eda831ee
authored
Nov 08, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove network parameter from recovery component
parent
e741314c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
recover.component.html
Breeze.UI/src/app/setup/recover/recover.component.html
+1
-8
recover.component.ts
Breeze.UI/src/app/setup/recover/recover.component.ts
+0
-1
wallet-recovery.ts
Breeze.UI/src/app/shared/classes/wallet-recovery.ts
+1
-3
No files found.
Breeze.UI/src/app/setup/recover/recover.component.html
View file @
eda831ee
...
@@ -27,18 +27,11 @@
...
@@ -27,18 +27,11 @@
<input
type=
"text"
class=
"form-control form-control-success"
formControlName=
"walletMnemonic"
id=
"walletName"
placeholder=
"Enter your secret words."
>
<input
type=
"text"
class=
"form-control form-control-success"
formControlName=
"walletMnemonic"
id=
"walletName"
placeholder=
"Enter your secret words."
>
<div
*
ngIf=
"formErrors.walletMnemonic"
class=
"text-danger mt-2"
>
{{ formErrors.walletMnemonic }}
</div>
<div
*
ngIf=
"formErrors.walletMnemonic"
class=
"text-danger mt-2"
>
{{ formErrors.walletMnemonic }}
</div>
</div>
</div>
<div
class=
"form-group col-
6
"
>
<div
class=
"form-group col-
12
"
>
<label
class=
"text-left"
for=
"walletPassword"
>
Password
</label>
<label
class=
"text-left"
for=
"walletPassword"
>
Password
</label>
<input
type=
"password"
class=
"form-control form-control-success"
formControlName=
"walletPassword"
id=
"walletPassword"
placeholder=
"Enter a password."
>
<input
type=
"password"
class=
"form-control form-control-success"
formControlName=
"walletPassword"
id=
"walletPassword"
placeholder=
"Enter a password."
>
<div
*
ngIf=
"formErrors.walletPassword"
class=
"text-danger mt-2"
>
{{ formErrors.walletPassword }}
</div>
<div
*
ngIf=
"formErrors.walletPassword"
class=
"text-danger mt-2"
>
{{ formErrors.walletPassword }}
</div>
</div>
</div>
<div
class=
"form-group col-6"
>
<label
class=
"text-left"
for=
"walletNetwork"
>
Network
</label>
<select
class=
"form-control custom-select"
name=
"network"
formControlName=
"selectNetwork"
>
<!--<option value="main">Main</option>-->
<option
value=
"test"
>
Testnet
</option>
</select>
</div>
</form>
</form>
</div>
</div>
<!-- /row-->
<!-- /row-->
...
...
Breeze.UI/src/app/setup/recover/recover.component.ts
View file @
eda831ee
...
@@ -108,7 +108,6 @@ export class RecoverComponent implements OnInit {
...
@@ -108,7 +108,6 @@ export class RecoverComponent implements OnInit {
this
.
recoverWalletForm
.
get
(
"walletName"
).
value
,
this
.
recoverWalletForm
.
get
(
"walletName"
).
value
,
this
.
recoverWalletForm
.
get
(
"walletMnemonic"
).
value
,
this
.
recoverWalletForm
.
get
(
"walletMnemonic"
).
value
,
this
.
recoverWalletForm
.
get
(
"walletPassword"
).
value
,
this
.
recoverWalletForm
.
get
(
"walletPassword"
).
value
,
this
.
recoverWalletForm
.
get
(
"selectNetwork"
).
value
,
recoveryDate
recoveryDate
);
);
this
.
recoverWallets
(
this
.
walletRecovery
);
this
.
recoverWallets
(
this
.
walletRecovery
);
...
...
Breeze.UI/src/app/shared/classes/wallet-recovery.ts
View file @
eda831ee
export
class
WalletRecovery
{
export
class
WalletRecovery
{
constructor
(
walletName
:
string
,
mnemonic
:
string
,
password
:
string
,
network
:
string
,
creationDate
:
Date
,
folderPath
:
string
=
null
)
{
constructor
(
walletName
:
string
,
mnemonic
:
string
,
password
:
string
,
creationDate
:
Date
,
folderPath
:
string
=
null
)
{
this
.
name
=
walletName
;
this
.
name
=
walletName
;
this
.
mnemonic
=
mnemonic
;
this
.
mnemonic
=
mnemonic
;
this
.
password
=
password
;
this
.
password
=
password
;
this
.
network
=
network
;
this
.
creationDate
=
creationDate
;
this
.
creationDate
=
creationDate
;
this
.
folderPath
=
folderPath
;
this
.
folderPath
=
folderPath
;
}
}
...
@@ -12,7 +11,6 @@ export class WalletRecovery {
...
@@ -12,7 +11,6 @@ export class WalletRecovery {
mnemonic
:
string
;
mnemonic
:
string
;
password
:
string
;
password
:
string
;
name
:
string
;
name
:
string
;
network
:
string
;
creationDate
:
Date
;
creationDate
:
Date
;
folderPath
?:
string
;
folderPath
?:
string
;
}
}
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