Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
396
Merge Requests
52
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
02df755a
Commit
02df755a
authored
1 day ago
by
Mark Harding
Browse files
Options
Download
(fix): recurring wire intervals
parent
767b501a
master
fix/spec-tests-for-wire
No related merge requests found
Pipeline
#98884351
failed with stages
in 3 minutes and 39 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
src/app/modules/wire/creator/creator.component.ts
View file @
02df755a
...
...
@@ -36,6 +36,7 @@ export interface WireStruc {
payloadType
:
PayloadType
|
null
;
guid
:
any
;
recurring
:
boolean
;
recurringInterval
:
'
once
'
|
'
monthly
'
|
'
yearly
'
|
null
;
payload
:
any
;
}
...
...
@@ -53,7 +54,7 @@ export class WireCreatorComponent {
payloadType
:
'
onchain
'
,
guid
:
null
,
recurring
:
true
,
recurringInterval
:
'
monthly
'
,
// Payment
payload
:
null
,
};
...
...
This diff is collapsed.
src/app/modules/wire/creator/payments/payments.creator.component.ts
View file @
02df755a
...
...
@@ -11,6 +11,7 @@ export class WirePaymentsCreatorComponent extends WireCreatorComponent {
@
Input
(
'
opts
'
)
set
opts
(
opts
)
{
this
.
_opts
=
opts
;
this
.
wire
.
amount
=
opts
.
amount
;
this
.
wire
.
recurringInterval
=
opts
.
interval
;
switch
(
opts
.
currency
)
{
case
'
tokens
'
:
this
.
wire
.
payloadType
=
'
offchain
'
;
...
...
This diff is collapsed.
src/app/modules/wire/wire.service.ts
View file @
02df755a
...
...
@@ -110,6 +110,7 @@ export class WireService {
method
:
payload
.
method
,
amount
:
wire
.
amount
,
recurring
:
wire
.
recurring
,
recurring_interval
:
wire
.
recurringInterval
,
});
this
.
wireSent
.
next
(
wire
);
...
...
This diff is collapsed.
Please
register
or
sign in
to comment