You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2807b82
Browse filesBrowse the repository at this point in the historyBrowse files
Keep License Updated events for unknown licenses queued until AWS describes
them, so a renewal cannot be lost. Tell the team when the event reaches a
license already taken, and when a repeat take changes the contact details.
Give the cancel instruction its required operationId, and only when an
organization holds the license.
Show account-registered licenses on organization billing, and stop offering
plans on the upgrade page to anyone billed through AWS. Delete the expired
and inactive claim states, which no reachable row can produce.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/settings/components/billing/components/aws-marketplace-subscription-section/aws-marketplace-subscription-section.tsx
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,18 @@ const STATUS_BADGES = {
15
15
interfaceAwsMarketplaceSubscriptionSectionProps{
16
16
/** Null reads the licenses registered to the viewer's own account. */
17
17
organizationId: string|null
18
+
label?: string
18
19
}
19
20
20
21
/** Read-only: AWS requires buyers to see their subscription status in the product. */
? `Plans for ${hostContext.workspace.name} are managed by its organization administrators. Contact an organization admin to change this workspace’s plan.`
91
-
: `Only the owner of ${hostContext.workspace.name} can change this workspace’s plan.`
? 'Your subscription is billed through AWS Marketplace, so plans can’t be changed here.'
91
+
: hostContext.hostOrganizationId
92
+
? `Plans for ${hostContext.workspace.name} are managed by its organization administrators. Contact an organization admin to change this workspace’s plan.`
93
+
: `Only the owner of ${hostContext.workspace.name} can change this workspace’s plan.`
0 commit comments