Fix Dataset Template import compatibility
This commit is contained in:
parent
00c6978594
commit
1eb1c2b43f
|
@ -240,7 +240,7 @@ public class AutoCompleteData extends ComboBoxData<AutoCompleteData> {
|
|||
this.autoCompleteSingleDataList.get(i).autoCompleteOptions = new Option();
|
||||
this.autoCompleteSingleDataList.get(i).url = (String) singleData.get("url");
|
||||
this.autoCompleteSingleDataList.get(i).optionsRoot = (String) singleData.get("optionsRoot");
|
||||
this.autoCompleteSingleDataList.get(i).hasAuth = (Boolean) singleData.get("hasAuth");
|
||||
this.autoCompleteSingleDataList.get(i).hasAuth = (singleData.get("hasAuth") != null && !singleData.get("hasAuth").toString().isEmpty()) ? (Boolean) singleData.get("hasAuth") : false;
|
||||
this.autoCompleteSingleDataList.get(i).method = singleData.containsKey("method") ? (String) singleData.get("method") : "GET";
|
||||
|
||||
if (singleData.get("autoCompleteType") == null) {
|
||||
|
|
Loading…
Reference in New Issue