Skip to content

Commit 367a13b

Browse files
authored
Correct the display of pending package migrations (#19276)
1 parent e9a5daf commit 367a13b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Umbraco.Infrastructure/Services/Implement/PackagingService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,9 @@ public Task<PagedModel<InstalledPackage>> GetInstalledPackagesFromMigrationPlans
326326
PackageName = group.Key.PackageName,
327327
};
328328

329+
var packageKey = Constants.Conventions.Migrations.KeyValuePrefix + (group.Key.PackageId ?? group.Key.PackageName);
329330
var currentState = keyValues?
330-
.GetValueOrDefault(Constants.Conventions.Migrations.KeyValuePrefix + group.Key.PackageId);
331+
.GetValueOrDefault(packageKey);
331332

332333
package.PackageMigrationPlans = group
333334
.Select(plan => new InstalledPackageMigrationPlans

src/Umbraco.Web.UI.Client/src/packages/packages/package-section/views/installed/installed-packages-section-view-item.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class UmbInstalledPackagesSectionViewItemElement extends UmbLitElement {
131131
.state=${this._migrationButtonState}
132132
color="warning"
133133
look="primary"
134-
label=${this.localize.term('packageMigrationsRun')}></uui-button>`
134+
label=${this.localize.term('packager_packageMigrationsRun')}></uui-button>`
135135
: nothing}
136136
</div>
137137
</uui-ref-node-package>

0 commit comments

Comments
 (0)