update on the preview build
This commit is contained in:
@@ -785,11 +785,7 @@ const Dispatch = ({
|
||||
selectedRiderId,
|
||||
onRiderSelect,
|
||||
// Highlight a single marker (e.g. on table-row hover). Adds a `.pulse` class to that cmark.
|
||||
pulseOrderId,
|
||||
// Optional. When provided, focused-rider order cards render a small "change rider"
|
||||
// icon in their header. Receiving callsite owns the rider-picker dialog. Standalone
|
||||
// /dispatch usage leaves this undefined so the icon never appears there.
|
||||
onChangeRider
|
||||
pulseOrderId
|
||||
}) => {
|
||||
// Default to "By Zone" when the caller passes pre-zoned data (AI preview); fall back to
|
||||
// "By Rider" for the standalone live page where zones are synthesized but riders are primary.
|
||||
@@ -4131,19 +4127,6 @@ const Dispatch = ({
|
||||
</div>
|
||||
);
|
||||
})()}
|
||||
{onChangeRider && (
|
||||
<button
|
||||
type="button"
|
||||
className="zone-order-change-rider"
|
||||
title="Change rider"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
onChangeRider(o, focusedRider);
|
||||
}}
|
||||
>
|
||||
<MdSwapHoriz />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="zone-order-customer">
|
||||
|
||||
Reference in New Issue
Block a user