@dhyasama/totem-models 7.0.2 → 7.0.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/Financials.js +1 -1
- package/package.json +1 -1
package/lib/Financials.js
CHANGED
|
@@ -178,7 +178,7 @@ module.exports = function(mongoose, config) {
|
|
|
178
178
|
|
|
179
179
|
var names = _.map(this.snapshots, function(snapshot) {
|
|
180
180
|
if (snapshot.year && snapshot.period) { return snapshot.year.toString() + ' ' + snapshot.period; }
|
|
181
|
-
else if (snapshot.year) { return snapshot.year; }
|
|
181
|
+
else if (snapshot.year) { return snapshot.year.toString(); }
|
|
182
182
|
else if (snapshot.period) { return snapshot.period; }
|
|
183
183
|
else { return null; }
|
|
184
184
|
});
|