Skip to content

Commit 30abb32

Browse files
authored
(fix) Use actionsSlotName prop in PatientBannerActionsMenu (#1484)
Replace hardcoded "patient-actions-slot" with the actionsSlotName prop to properly support different slot names across different contexts (e.g., patient-actions-slot vs patient-search-actions-slot).
1 parent c573cef commit 30abb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function PatientBannerActionsMenu({
4141
</>
4242
}
4343
>
44-
<ExtensionSlot name="patient-actions-slot" key="patient-actions-slot" state={patientActionsSlotState} />
44+
<ExtensionSlot name={actionsSlotName} key={actionsSlotName} state={patientActionsSlotState} />
4545
</CustomOverflowMenu>
4646
</div>
4747
) : null}

0 commit comments

Comments
 (0)