@patternfly/quickstarts 6.3.0-prerelease.4 → 6.3.0-prerelease.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30973,7 +30973,10 @@ const QuickStartPanelContent = (_a) => {
30973
30973
  const QuickStartDrawerContent = (_a) => {
30974
30974
  var { quickStarts = [], appendTo, fullWidth, handleDrawerClose } = _a, props = __rest(_a, ["quickStarts", "appendTo", "fullWidth", "handleDrawerClose"]);
30975
30975
  const { activeQuickStartID, allQuickStarts = [], activeQuickStartState, } = useContext(QuickStartContext);
30976
- const combinedQuickStarts = allQuickStarts.concat(quickStarts);
30976
+ const combinedQuickStarts = [
30977
+ ...allQuickStarts,
30978
+ ...quickStarts,
30979
+ ].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
30977
30980
  const handleClose = () => {
30978
30981
  handleDrawerClose && handleDrawerClose(activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.status);
30979
30982
  };