mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-26 15:01:40 +02:00
ellipsis
This commit is contained in:
parent
bc07087028
commit
b6fe5da5bd
@ -55,7 +55,6 @@ const SaveRequestsModal = ({ onSaveAndClose, onCloseWithoutSave, onCancel, items
|
||||
onCloseWithoutSave(items);
|
||||
}
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
if (items.length === 0) {
|
||||
return onCloseWithoutSave([]);
|
||||
@ -80,7 +79,7 @@ const SaveRequestsModal = ({ onSaveAndClose, onCloseWithoutSave, onCancel, items
|
||||
>
|
||||
<div className="flex items-center">
|
||||
<IconAlertTriangle size={32} strokeWidth={1.5} className="text-yellow-600" />
|
||||
<h1 className="ml-2 text-lg font-semibold">Hold on..</h1>
|
||||
<h1 className="ml-2 text-lg font-semibold">Hold on...</h1>
|
||||
</div>
|
||||
{items.length > 1 ?
|
||||
<MultipleRequestsMessage items={items} maxItems={MAX_UNSAVED_REQUESTS_TO_SHOW} /> :
|
||||
|
Loading…
x
Reference in New Issue
Block a user