1) Fixed an issue where a warning message was shown after database creation/modification. Fixes #7142.

2) Added error boundary to schema view which will improve the exception stack trace details.
3) Fixed Jasmine test cases.
This commit is contained in:
Aditya Toshniwal
2022-01-31 13:41:22 +05:30
committed by Akshay Joshi
parent 1a89c1f85f
commit bc0b25d995
5 changed files with 50 additions and 4 deletions

View File

@@ -767,7 +767,8 @@ export function InputSelect({
} else {
selectedVal = _.find(flatRes, (o)=>o.selected)?.value;
}
if(!_.isUndefined(selectedVal)) {
if((!_.isUndefined(selectedVal) && !_.isArray(selectedVal)) || (_.isArray(selectedVal) && selectedVal.length != 0)) {
onChange && onChange(selectedVal);
}
setFinalOptions([res || [], false]);