Fix re-alarm btn pos
This commit is contained in:
@@ -372,23 +372,25 @@ const Rettungsmittel = ({ mission }: { mission: Mission }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="p-4 text-base-content">
|
<div className="p-4 text-base-content">
|
||||||
<div className="flex items-center w-full justify-between">
|
<div className="flex items-center justify-between mb-3">
|
||||||
<h2 className="flex items-center gap-2 text-lg font-bold mb-3">
|
<h2 className="flex items-center gap-2 text-lg font-bold">
|
||||||
<SmartphoneNfc /> Rettungsmittel
|
<SmartphoneNfc /> Rettungsmittel
|
||||||
</h2>
|
</h2>
|
||||||
{dispatcherConnected && (
|
{dispatcherConnected && (
|
||||||
<div
|
<div className="space-x-2">
|
||||||
className="tooltip tooltip-primary tooltip-left font-semibold"
|
<div
|
||||||
data-tip="Einsatz erneut alarmieren"
|
className="tooltip tooltip-primary tooltip-left font-semibold"
|
||||||
>
|
data-tip="Einsatz erneut alarmieren"
|
||||||
<button
|
|
||||||
className="btn btn-xs btn-primary btn-outline"
|
|
||||||
onClick={() => {
|
|
||||||
sendAlertMutation.mutate({ id: mission.id });
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<BellRing size={16} />
|
<button
|
||||||
</button>
|
className="btn btn-xs btn-primary btn-outline"
|
||||||
|
onClick={() => {
|
||||||
|
sendAlertMutation.mutate({ id: mission.id });
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<BellRing size={16} />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user