@dhyasama/totem-models 6.11.3 → 6.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Organization.js +12 -0
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -594,6 +594,18 @@ module.exports = function(mongoose, config) {
|
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
+
if (standardFields.sourceTypes.showOnList) {
|
|
598
|
+
result.push({
|
|
599
|
+
name: 'Source Type',
|
|
600
|
+
type: 'Single Select',
|
|
601
|
+
key: 'sourceTypes',
|
|
602
|
+
isStandard: true,
|
|
603
|
+
order: standardFields.sourceTypes.order * 10,
|
|
604
|
+
colspan: standardFields.sourceTypes.colspan || 1,
|
|
605
|
+
showOnFilter: standardFields.sourceTypes.showOnFilter === true ? true : false
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
|
|
597
609
|
if (standardFields.referrers.showOnList) {
|
|
598
610
|
result.push({
|
|
599
611
|
name: 'Referrers',
|