fix: NDV search bugs (#11613)

Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Michael Kret
2024-11-07 14:34:50 +02:00
committed by GitHub
parent 04029d82a1
commit c32cf644a6
6 changed files with 184 additions and 1 deletions

View File

@@ -251,6 +251,9 @@ export default defineComponent({
isSchemaView(): boolean {
return this.displayMode === 'schema';
},
isSearchInSchemaView(): boolean {
return this.displayMode === 'schema' && this.search.length > 0;
},
displaysMultipleNodes(): boolean {
return this.isSchemaView && this.paneType === 'input' && this.nodes.length > 0;
},
@@ -1403,6 +1406,7 @@ export default defineComponent({
v-else-if="
!hasRunError &&
hasNodeRun &&
!isSearchInSchemaView &&
((dataCount > 0 && maxRunIndex === 0) || search) &&
!isArtificialRecoveredEventItem &&
!displaysMultipleNodes