@jx3box/jx3box-common-ui 5.5.28 → 5.5.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "5.5.28",
3
+ "version": "5.5.29",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -81,7 +81,7 @@ export default {
81
81
  return this.left && this.left >= this.count;
82
82
  },
83
83
  allowBoxcoin : function (){
84
- return this.postType && this.postId && this.userId
84
+ return this.postType && this.postId && (this.userId || (this.authors && this.authors.length))
85
85
  },
86
86
  client : function (){
87
87
  return location.href.includes('origin') ? 'origin' : 'std'
@@ -80,7 +80,7 @@ export default {
80
80
  return this.left && this.left >= this.count;
81
81
  },
82
82
  allowBoxcoin : function (){
83
- return this.postType && this.postId && this.userId
83
+ return this.postType && this.postId && (this.userId || (this.authors && this.authors.length))
84
84
  },
85
85
  client : function (){
86
86
  return location.href.includes('origin') ? 'origin' : 'std'
@@ -152,4 +152,4 @@ export default {
152
152
  .ml(10px);
153
153
  }
154
154
  }
155
- </style>
155
+ </style>