changed type names
This commit is contained in:
@ -996,11 +996,11 @@ function customFields (comment, sampleNumber) {
|
||||
|
||||
function sampleType (type) {
|
||||
type = stripSpaces(type).toLowerCase();
|
||||
const allowedTypes = {'tension rod': 'tension rod', 'Zugstab': 'tension rod', 'part': 'part', 'granulate': 'granulate'};
|
||||
const allowedTypes = {'tension rod': 'processed', 'Zugstab': 'processed', 'part': 'processed', 'granulate': 'as-delivered/raw'};
|
||||
if (!allowedTypes[type]) {
|
||||
typeLog.push(type);
|
||||
}
|
||||
return allowedTypes[type] ? allowedTypes[type] : 'part';
|
||||
return allowedTypes[type] ? allowedTypes[type] : 'processed';
|
||||
}
|
||||
|
||||
function stripSpaces(s) {
|
||||
|
Reference in New Issue
Block a user