Correct the display of pending package migrations (#19276)

This commit is contained in:
Andy Butland
2025-05-08 16:14:26 +02:00
committed by GitHub
parent e9a5dafc62
commit 367a13b0e7
2 changed files with 3 additions and 2 deletions

View File

@@ -326,8 +326,9 @@ public class PackagingService : IPackagingService
PackageName = group.Key.PackageName,
};
var packageKey = Constants.Conventions.Migrations.KeyValuePrefix + (group.Key.PackageId ?? group.Key.PackageName);
var currentState = keyValues?
.GetValueOrDefault(Constants.Conventions.Migrations.KeyValuePrefix + group.Key.PackageId);
.GetValueOrDefault(packageKey);
package.PackageMigrationPlans = group
.Select(plan => new InstalledPackageMigrationPlans

View File

@@ -131,7 +131,7 @@ export class UmbInstalledPackagesSectionViewItemElement extends UmbLitElement {
.state=${this._migrationButtonState}
color="warning"
look="primary"
label=${this.localize.term('packageMigrationsRun')}></uui-button>`
label=${this.localize.term('packager_packageMigrationsRun')}></uui-button>`
: nothing}
</div>
</uui-ref-node-package>