fix: 图标选择器,如果图标不属于saas项目中的,则默认显示schema配置的内容 (#6394)

Co-authored-by: zhangzhulei <zhangzhulei@baidu.com>
This commit is contained in:
zhangzhulei 2023-03-16 20:03:31 +08:00 committed by GitHub
parent 158e9912de
commit 351571c4c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ export default class IconSelectControl extends React.PureComponent<
}
}
}
return findItem || null;
return findItem || {name: svg, id: '', svg: ''};
}
@autobind