Fix discovery wizard if search results return instantly

This commit is contained in:
Michael Zanetti 2022-02-21 00:22:42 +01:00
parent e8f9e83abd
commit 971a13633d

View File

@ -116,8 +116,8 @@ Page {
internalPageStack.push(discoveryParamsPage) internalPageStack.push(discoveryParamsPage)
} else { } else {
print("Starting discovery...") print("Starting discovery...")
discovery.discoverThings(thingClass.id)
internalPageStack.push(discoveryPage, {thingClass: thingClass}) internalPageStack.push(discoveryPage, {thingClass: thingClass})
discovery.discoverThings(thingClass.id)
} }
} else if (root.thingClass.createMethods.indexOf("CreateMethodUser") !== -1) { } else if (root.thingClass.createMethods.indexOf("CreateMethodUser") !== -1) {
print("CreateMethodUser") print("CreateMethodUser")