Merge PR #775: Fix discovery wizard if search results return instantly

This commit is contained in:
Jenkins nymea 2022-02-21 00:56:03 +01:00
commit b2f9d356a1

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")