feat(editor): Tweak node creator search logic for AI sub-nodes (#10025)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
oleg
2024-07-12 10:43:46 +02:00
committed by GitHub
parent e2dd000d13
commit 7db16561dc
3 changed files with 38 additions and 37 deletions

View File

@@ -2622,7 +2622,7 @@ export default defineComponent({
// Automatically deselect all nodes and select the current one and also active
// current node. But only if it's added manually by the user (not by undo/redo mechanism)
if (trackHistory) {
if (trackHistory && !isAutoAdd) {
this.deselectAllNodes();
setTimeout(() => {
this.nodeSelectedByName(