Bug fix batches (#18588)
- clear sse state on logout - fix no record not selectable through keyboard - fix book a call design - fix error notif design
This commit is contained in:
+5
-4
@@ -55,8 +55,8 @@ export const SingleRecordPickerMenuItems = ({
|
||||
|
||||
const isSelectedItemId = useAtomComponentFamilyStateValue(
|
||||
isSelectedItemIdComponentFamilyState,
|
||||
selectableListComponentInstanceId,
|
||||
'select-none',
|
||||
selectableListComponentInstanceId,
|
||||
);
|
||||
|
||||
useHotkeysOnFocusedElement({
|
||||
@@ -69,9 +69,10 @@ export const SingleRecordPickerMenuItems = ({
|
||||
dependencies: [onCancel, resetSelectedItem],
|
||||
});
|
||||
|
||||
const selectableItemIds = pickableMorphItems.map(
|
||||
(morphItem) => morphItem.recordId,
|
||||
);
|
||||
const selectableItemIds = [
|
||||
...(emptyLabel ? ['select-none'] : []),
|
||||
...pickableMorphItems.map((morphItem) => morphItem.recordId),
|
||||
];
|
||||
const [singleRecordPickerSelectedId, setSingleRecordPickerSelectedId] =
|
||||
useAtomComponentState(singleRecordPickerSelectedIdComponentState);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user