fix: codegen modal breaking, downgrade back to 2.0

This commit is contained in:
Andrew Bastin
2023-08-22 00:49:13 +05:30
parent b32b0f9bcb
commit cb8678f07f
3 changed files with 128 additions and 30 deletions

View File

@@ -20,7 +20,7 @@
<span class="select-wrapper">
<HoppButtonSecondary
:label="
CodegenDefinitions.find((x) => x.name === codegenType).caption
CodegenDefinitions.find((x) => x.name === codegenType)!.caption
"
outline
class="flex-1 pr-8"
@@ -57,12 +57,7 @@
"
/>
<HoppSmartPlaceholder
v-if="
!(
filteredCodegenDefinitions.length !== 0 ||
CodegenDefinitions.length === 0
)
"
v-if="filteredCodegenDefinitions.length === 0"
:text="`${t('state.nothing_found')}${searchQuery}`"
>
<template #icon>