Fix PlaylistUploadEntry dialog with dropdown
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger as-child>
|
||||
<DropdownMenuTrigger as-child @trigger-click="handleTriggerClick">
|
||||
<Button variant="ghost">
|
||||
<EllipsisVertical :size="40" />
|
||||
</Button>
|
||||
@ -161,6 +161,10 @@ const toggleDialog = (value: boolean) => {
|
||||
isDialogOpen.value = value;
|
||||
}
|
||||
|
||||
const handleTriggerClick = (event: MouseEvent) => {
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
const getStatusColor = () => {
|
||||
if (hasError) return 'bg-destructive';
|
||||
if (props.status === 'FINISHED') return 'bg-green-500';
|
||||
|
||||
Reference in New Issue
Block a user