Skip to content

Commit

Permalink
Jetpack Manage: Remove Owner's User ID field from licenses page as it…
Browse files Browse the repository at this point in the history
… only shows current user (#86042)
  • Loading branch information
coder-karen authored Jan 5, 2024
1 parent fd49bc3 commit 0886889
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default function BundleDetails( { parentLicenseId }: Props ) {
key={ item.licenseId }
licenseKey={ item.licenseKey }
product={ item.product }
username={ item.username }
blogId={ item.blogId }
siteUrl={ item.siteUrl }
hasDownloads={ item.hasDownloads }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ interface Props {
licenseKey: string;
product: string;
siteUrl: string | null;
username: string | null;
blogId: number | null;
hasDownloads: boolean;
issuedAt: string;
Expand All @@ -31,7 +30,6 @@ export default function LicenseDetails( {
licenseKey,
product,
siteUrl,
username,
blogId,
hasDownloads,
issuedAt,
Expand Down Expand Up @@ -81,11 +79,6 @@ export default function LicenseDetails( {
</li>
) }

<li className="license-details__list-item">
<h4 className="license-details__label">{ translate( "Owner's User ID" ) }</h4>
{ username ? <span>{ username }</span> : <Gridicon icon="minus" /> }
</li>

{ licenseState === LicenseState.Attached && (
<li className="license-details__list-item">
<h4 className="license-details__label">{ translate( 'Site ID' ) }</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export default function LicenseList() {
parentLicenseId={ license.licenseId }
licenseKey={ license.licenseKey }
product={ license.product }
username={ license.username }
blogId={ license.blogId }
siteUrl={ license.siteUrl }
hasDownloads={ license.hasDownloads }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import './style.scss';
interface Props {
licenseKey: string;
product: string;
username: string | null;
blogId: number | null;
siteUrl: string | null;
hasDownloads: boolean;
Expand All @@ -47,7 +46,6 @@ interface Props {
export default function LicensePreview( {
licenseKey,
product,
username,
blogId,
siteUrl,
hasDownloads,
Expand Down Expand Up @@ -267,7 +265,6 @@ export default function LicensePreview( {
licenseKey={ licenseKey }
product={ product }
siteUrl={ siteUrl }
username={ username }
blogId={ blogId }
hasDownloads={ hasDownloads }
issuedAt={ issuedAt }
Expand Down

0 comments on commit 0886889

Please sign in to comment.