@dhyasama/totem-models 6.16.1 → 6.16.3
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/Account.js +2 -1
- package/lib/Organization.js +2 -2
- package/package.json +1 -1
package/lib/Account.js
CHANGED
package/lib/Organization.js
CHANGED
|
@@ -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;
|