[release] v0.12.0-unstable48

This commit is contained in:
Yann Stepienik 2023-11-07 17:00:26 +00:00
parent 9ec6784b26
commit dccb7533a2
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ const EditSourcesModal = ({ onSave }) => {
validate: (values) => {
const errors = {};
values.sources.forEach((source, index) => {
values.sources && values.sources.forEach((source, index) => {
if (source.Name === '') {
errors[`sources.${index}.Name`] = 'Name is required';
}
@ -105,7 +105,7 @@ const EditSourcesModal = ({ onSave }) => {
<form onSubmit={formik.handleSubmit}>
<DialogContent>
<Stack spacing={2}>
{formik.values.sources
{formik.values.sources && formik.values.sources
.map((action, index) => {
return !action.removed && <>
<Stack spacing={0} key={index}>

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.12.0-unstable47",
"version": "0.12.0-unstable48",
"description": "",
"main": "test-server.js",
"bugs": {