fix:multiple buttons (#21928)

This commit is contained in:
Adarsh Tiwari
2025-06-19 15:08:47 +00:00
committed by GitHub
parent f390e91bd7
commit 00aac89ed7
6 changed files with 6 additions and 2 deletions
@@ -128,6 +128,7 @@ export default function OtherTeamListItem(props: Props) {
color="destructive"
type="button"
StartIcon="trash"
className="rounded-t-none"
onClick={(e) => {
e.stopPropagation();
}}>
@@ -112,6 +112,7 @@ function AttributeItem({
type="button"
StartIcon="trash-2"
color="destructive"
className="rounded-t-none"
onClick={() => setAttributeToDelete(attribute)}>
{t("delete")}
</DropdownItem>
@@ -272,6 +272,7 @@ export default function TeamListItem(props: Props) {
color="destructive"
type="button"
StartIcon="trash"
className="rounded-t-none"
onClick={(e) => {
e.stopPropagation();
}}>
@@ -127,6 +127,7 @@ export function ScheduleListItem({
color="destructive"
StartIcon="trash"
data-testid="delete-schedule"
className="rounded-t-none"
onClick={() => {
if (!isDeletable) {
showToast(t("requires_at_least_one_schedule"), "error");