Skip to content

Commit

Permalink
fix(dedicated.server): order private bandwidth upgrade (#9815)
Browse files Browse the repository at this point in the history
ref: DTRSD-118479

Signed-off-by: Anoop N <[email protected]>
  • Loading branch information
anooparveti authored Aug 8, 2023
1 parent 7cab928 commit fa71543
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export default {
template,
bindings: {
alertError: '<',
atTrack: '<',
goBack: '<',
hasDefaultPaymentMethod: '<',
serverName: '<',
specifications: '<',
trackClick: '<',
trackingPrefix: '<',
user: '<',
handleError: '<',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ export default /* @ngInject */ ($stateProvider) => {
),
)?.serviceId,
),
trackingPrefix: () =>
trackClick: /* @ngInject */ (atInternet) => (name) =>
atInternet.trackClick({
name,
type: 'action',
chapter1: 'dedicated',
}),
trackingPrefix: /* @ngInject */ () =>
'dedicated::server::interfaces::bandwidth-private-order::',
},
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
service-name="{{ $ctrl.server.name }}"
on-error="$ctrl.handleError(error)"
on-success="$ctrl.handleSuccess(message)"
at-track="$ctrl.atTrack"
track-click="$ctrl.trackClick"
go-back="$ctrl.goBack"
has-default-payment-method="$ctrl.hasDefaultPaymentMethod"
server-name="$ctrl.serverName"
Expand Down

0 comments on commit fa71543

Please sign in to comment.