refactor(editor): Migrate ndv.store to composition API (#11574)

This commit is contained in:
Ricardo Espinoza
2024-11-08 08:11:36 -05:00
committed by GitHub
parent aec372793b
commit 38fefff348
10 changed files with 458 additions and 315 deletions

View File

@@ -316,7 +316,7 @@ async function onClick() {
codeGenerationInProgress.value = false;
}
if (isChatNode.value || (isChatChild.value && ndvStore.isNDVDataEmpty('input'))) {
if (isChatNode.value || (isChatChild.value && ndvStore.isInputPanelEmpty)) {
ndvStore.setActiveNodeName(null);
nodeViewEventBus.emit('openChat');
} else if (isListeningForEvents.value) {