Fix for #1
All checks were successful
release-image / release-image (push) Successful in 10m21s
All checks were successful
release-image / release-image (push) Successful in 10m21s
This commit is contained in:
@@ -114,7 +114,7 @@ const SystemsManagement: React.FC<SystemsManagementProps> = ({ token, logoutUser
|
|||||||
type: newSystemData.type,
|
type: newSystemData.type,
|
||||||
location: newSystemData.location,
|
location: newSystemData.location,
|
||||||
description: newSystemData.description || undefined,
|
description: newSystemData.description || undefined,
|
||||||
frequencies: newSystemData.frequencies.split(',').map(f => parseInt(f.trim())).filter(f => !isNaN(f)),
|
frequencies: newSystemData.frequencies.split(',').map(f => parseFloat(f.trim())).filter(f => !isNaN(f)),
|
||||||
avail_on_nodes: newSystemData.avail_on_nodes.split(',').map(node => node.trim()).filter(node => node),
|
avail_on_nodes: newSystemData.avail_on_nodes.split(',').map(node => node.trim()).filter(node => node),
|
||||||
tags: parsedTags,
|
tags: parsedTags,
|
||||||
whitelist: newSystemData.whitelist.split(',').map(w => parseInt(w.trim())).filter(w => !isNaN(w)),
|
whitelist: newSystemData.whitelist.split(',').map(w => parseInt(w.trim())).filter(w => !isNaN(w)),
|
||||||
|
|||||||
Reference in New Issue
Block a user