Skip to content

Commit

Permalink
fix(app subscription): change enum value to start app activation (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy authored Nov 15, 2024
1 parent 9e27ecd commit cc018d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const AppSubscriptionDetailOverlay = ({

const getStatus = () => {
if (
data?.processStepTypeId === ProcessStep.START_AUTOSETUP ||
data?.processStepTypeId === ProcessStep.AWAIT_START_AUTOSETUP ||
data?.processStepTypeId === ProcessStep.TRIGGER_PROVIDER
) {
return t('content.appSubscription.detailOverlay.subscriptionInitiated')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ export default function SubscriptionElements({
} else if (
subscription.offerSubscriptionStatus === SubscriptionStatus.PENDING
) {
if (subscription.processStepTypeId === ProcessStep.START_AUTOSETUP) {
if (
subscription.processStepTypeId === ProcessStep.AWAIT_START_AUTOSETUP
) {
return (
<>
<Chip
Expand Down
2 changes: 1 addition & 1 deletion src/features/appSubscription/appSubscriptionApiSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type TechnicalUserData = {

export enum ProcessStep {
TRIGGER_PROVIDER = 'TRIGGER_PROVIDER',
START_AUTOSETUP = 'START_AUTOSETUP',
AWAIT_START_AUTOSETUP = 'AWAIT_START_AUTOSETUP',
OFFERSUBSCRIPTION_CLIENT_CREATION = 'OFFERSUBSCRIPTION_CLIENT_CREATION',
SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION = 'SINGLE_INSTANCE_SUBSCRIPTION_DETAILS_CREATION',
OFFERSUBSCRIPTION_TECHNICALUSER_CREATION = 'OFFERSUBSCRIPTION_TECHNICALUSER_CREATION',
Expand Down

0 comments on commit cc018d3

Please sign in to comment.