@dhyasama/totem-models 6.16.1 → 6.16.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.
@@ -822,13 +822,13 @@ module.exports = function(mongoose, config) {
822
822
  var self = this;
823
823
 
824
824
  if (self.ipo.ticker) return 'IPO';
825
- else if (self.acquired.by) return 'Acquired';
825
+ else if (self.acquired.by || self.acquired.on) return 'Acquired';
826
826
  else if (self.shutdown) return 'Shutdown';
827
827
  else if (self.inactive) return 'Inactive';
828
828
  else return 'Active';
829
829
 
830
830
  });
831
-
831
+
832
832
  Organization.virtual('websites').get(function () {
833
833
 
834
834
  var self = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.16.1",
3
+ "version": "6.16.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",