Skip to content
Snippets Groups Projects
Commit 2c75c504 authored by Fuentes Serna  Juan Mariano (ID SIS)'s avatar Fuentes Serna Juan Mariano (ID SIS)
Browse files

SSDM-6975 : fixes from feedback, storage names dropdown

parent ef3303d3
No related branches found
No related tags found
No related merge requests found
......@@ -526,9 +526,13 @@ $.extend(DefaultProfile.prototype, {
// !!! IMPORTANT
// This properties start with $, they are here without it because the V1 API omits the $.
//
var propertyReplacingCodeNoDolar = profile.propertyReplacingCode;
if(propertyReplacingCodeNoDolar.charAt(0) === "$") {
propertyReplacingCodeNoDolar = propertyReplacingCodeNoDolar.substring(1);
}
return {
code : sample.code,
label : sample.properties[profile.propertyReplacingCode],
label : sample.properties[propertyReplacingCodeNoDolar],
validationLevel : ValidationLevel[sample.properties["STORAGE.STORAGE_VALIDATION_LEVEL"]],
lowRackSpaceWarning : sample.properties["STORAGE.STORAGE_SPACE_WARNING"],
lowBoxSpaceWarning : sample.properties["STORAGE.BOX_SPACE_WARNING"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment