fix(frontend) : fix history input arg null (#5194)

* fix null arg

* fix badge height jump
This commit is contained in:
Guilhem
2025-02-03 09:34:43 +01:00
committed by GitHub
parent b272822669
commit ff0b214bc7
2 changed files with 2 additions and 2 deletions
@@ -119,7 +119,7 @@
{runnableId}
{runnableType}
on:select={(e) => {
dispatch('select', { payload: e.detail.args, type: 'history' })
dispatch('select', { payload: e.detail?.args, type: 'history' })
}}
/>
</FlowInputEditor>
@@ -7,7 +7,7 @@
export let inputSelected: 'history' | 'captures' | 'saved' | undefined = undefined
</script>
<div class="min-h-[34px]">
<div class="min-h-[38px]">
<div
class="rounded-md flex flex-row gap-2 items-center py-1 px-2 w-fit {classes['info']
.bgClass} {inputSelected ? '' : 'hidden'}"