Skip to content

Commit

Permalink
🐛 Fix RunDataAi not updating based on run & error message when closin…
Browse files Browse the repository at this point in the history
…g NDV

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
  • Loading branch information
OlegIvaniv committed Oct 3, 2023
1 parent 9103d3e commit e5f84c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/editor-ui/src/components/NodeDetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ export default defineComponent({
}
if (
typeof this.activeNodeType.outputs === 'string' ||
typeof this.activeNodeType.inputs === 'string'
typeof this.activeNodeType?.outputs === 'string' ||
typeof this.activeNodeType?.inputs === 'string'
) {
// TODO: We should keep track of if it actually changed and only do if required
// Whenever a node with custom inputs and outputs gets closed redraw it in case
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/OutputPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</template>

<template #content v-if="outputMode === 'logs'">
<run-data-ai :node="node" />
<run-data-ai :node="node" :run-index="runIndex" />
</template>
<template #recovered-artificial-output-data>
<div :class="$style.recoveredOutputData">
Expand Down

0 comments on commit e5f84c3

Please sign in to comment.