fix: deduplicate discovered backend features
Signed-off-by: Stanislav C <150145013+stanislav-c@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
---
|
||||
|
||||
Deduplicate discovered features discovered with discoveryFeatureLoader
|
||||
@@ -175,6 +175,6 @@ export class PackageDiscoveryService {
|
||||
}
|
||||
}
|
||||
|
||||
return { features };
|
||||
return { features: Array.from(new Set(features)) };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user