fix: project card having margin due to get actions fn (#5849)
This commit is contained in:
@@ -161,7 +161,7 @@ const maxResultsOptions = computed<ComboboxOption<number>[]>(() =>
|
|||||||
@mouseenter="ctx.onServerProjectHover?.(result)"
|
@mouseenter="ctx.onServerProjectHover?.(result)"
|
||||||
@mouseleave="ctx.onProjectHoverEnd?.()"
|
@mouseleave="ctx.onProjectHoverEnd?.()"
|
||||||
>
|
>
|
||||||
<template v-if="ctx.getCardActions" #actions>
|
<template v-if="ctx.getCardActions?.(result, ctx.projectType.value)?.length" #actions>
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<ButtonStyled
|
<ButtonStyled
|
||||||
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"
|
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"
|
||||||
@@ -224,7 +224,7 @@ const maxResultsOptions = computed<ComboboxOption<number>[]>(() =>
|
|||||||
@mouseenter="ctx.onProjectHover?.(result)"
|
@mouseenter="ctx.onProjectHover?.(result)"
|
||||||
@mouseleave="ctx.onProjectHoverEnd?.()"
|
@mouseleave="ctx.onProjectHoverEnd?.()"
|
||||||
>
|
>
|
||||||
<template v-if="ctx.getCardActions" #actions>
|
<template v-if="ctx.getCardActions?.(result, ctx.projectType.value)?.length" #actions>
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<ButtonStyled
|
<ButtonStyled
|
||||||
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"
|
v-for="action in ctx.getCardActions(result, ctx.projectType.value)"
|
||||||
|
|||||||
Reference in New Issue
Block a user