generic-skin 3.2.0 → 3.2.1

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.
@@ -18,6 +18,7 @@ Vue.filter('max-two-digits', (value) => {
18
18
  Vue.filter('just-name', (value) => {
19
19
  if (!value || typeof value !== 'string') return value;
20
20
  else if (value === 'Anonymous') return 'Invitado';
21
+ else if (value.split(' ').length === 1) return value;
21
22
  else return value.split(' ')[0].length < 3 ? value.split(' ')[1] : value.split(' ')[0];
22
23
  });
23
24
 
@@ -593,7 +593,7 @@ const FNR = {
593
593
  cur_date = new Date(),
594
594
  timeMil = time == -1 ? 'undefined' : time * 86400000;
595
595
 
596
- if ((item != null && time == -1) || (item != null && parseInt(JSON.parse(item).cached_at) + timeMil > cur_date.getTime())) {
596
+ if ((item != null && time == -1) || (item != null && parseInt(JSON.parse(item).cached_at) + timeMil > cur_date.getTime())) {
597
597
  resolve(JSON.parse(item).content);
598
598
  } else {
599
599
  reject(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generic-skin",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "Generic Forum Skin for Forumotion created by Gaylien.",
5
5
  "main": "readme.md",
6
6
  "scripts": {