@dhyasama/totem-models 6.8.0 → 6.8.2

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.
@@ -258,7 +258,7 @@ module.exports = function(mongoose, config) {
258
258
  showOnList: { type: Boolean, default: true }
259
259
  },
260
260
 
261
- resources: {
261
+ chairs: {
262
262
  order: { type: Number, default: 99 },
263
263
  colspan: { type: Number, default: 1 },
264
264
  showOnFilter: { type: Boolean, default: true },
@@ -556,7 +556,7 @@ module.exports = function(mongoose, config) {
556
556
  order: standardFields.raise.order * 10,
557
557
  colspan: standardFields.raise.colspan || 1,
558
558
  showOnFilter: standardFields.raise.showOnFilter === true ? true : false
559
- }
559
+ });
560
560
  }
561
561
 
562
562
  if(standardFields.valuation.showOnList) {
@@ -592,6 +592,17 @@ module.exports = function(mongoose, config) {
592
592
  });
593
593
  }
594
594
 
595
+ if (standardFields.chairs.showOnList) {
596
+ result.push({
597
+ name: 'Leads',
598
+ type: 'Reference',
599
+ isStandard: true,
600
+ order: standardFields.chairs.order * 10,
601
+ colspan: standardFields.chairs.colspan || 1,
602
+ showOnFilter: standardFields.chairs.showOnFilter === true ? true : false
603
+ });
604
+ }
605
+
595
606
  // Add custom fields
596
607
  _.each(customFields, function(field) {
597
608
  if (field.display.showOnList) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.8.0",
3
+ "version": "6.8.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",