list item always show interaction status TP-25319 (#246)
* list item always show interaction status TP-25319 * fix map button TP-25319 * update submod TP-25319 * update submod TP-25319
This commit is contained in:
committed by
GitHub Enterprise
parent
e4b31d71ba
commit
f919b272b9
Submodule RN-UI-LIB updated: a286ec5493...f712946960
@@ -113,8 +113,7 @@ const ListItem: React.FC<IListItem> = props => {
|
||||
detail.customerInfo?.name ||
|
||||
detail.customerInfo?.customerName ||
|
||||
detail.customerName;
|
||||
|
||||
const interactionStatus = InteractionStatuses[detail.interactionStatus];
|
||||
const interactionStatus = InteractionStatuses[detail.interactionStatus] ?? detail.interactionStatus;
|
||||
|
||||
return (
|
||||
<Pressable onPress={handleCaseClick}>
|
||||
|
||||
@@ -70,7 +70,11 @@ const TaskContent = ({
|
||||
variant="secondary"
|
||||
onPress={openGeolocation}
|
||||
title="Open map"
|
||||
leftIcon={<MapPinIcon />}
|
||||
leftIcon={
|
||||
<View style={[GenericStyles.mr8]}>
|
||||
<MapPinIcon />
|
||||
</View>
|
||||
}
|
||||
testID={"test_open_map"}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user