webapp zone.js: updated code to show only APP record handlers while adding APP record.

This commit is contained in:
Shreyas Zare
2021-09-11 18:00:41 +05:30
parent ea9121f836
commit d9f4d8a0c5

View File

@@ -1163,7 +1163,8 @@ function showAddRecordModalNow(apps) {
var optClassPaths = "<option></option>";
for (var i = 0; i < apps.length; i++) {
optApps += "<option>" + apps[i].name + "</option>";
if (apps[i].appRecordRequestHandlers.length > 0)
optApps += "<option>" + apps[i].name + "</option>";
}
$("#optAddEditRecordDataAppName").html(optApps);