Skip to content

Commit

Permalink
Fix condition for filtering to installed packages (#79205)
Browse files Browse the repository at this point in the history
# Conflicts:
#	x-pack/plugins/ingest_manager/server/services/epm/packages/get.ts
  • Loading branch information
jen-huang committed Oct 1, 2020
1 parent 5af8bfc commit a287d75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function getLimitedPackages(options: {
const { savedObjectsClient } = options;
const allPackages = await getPackages({ savedObjectsClient, experimental: true });
const installedPackages = allPackages.filter(
(pkg) => (pkg.status = InstallationStatus.installed)
(pkg) => pkg.status === InstallationStatus.installed
);
const installedPackagesInfo = await Promise.all(
installedPackages.map((pkgInstall) => {
Expand Down

0 comments on commit a287d75

Please sign in to comment.