@policystudio/policy-studio-ui-vue 1.1.51 → 1.1.52

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": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.51",
3
+ "version": "1.1.52",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -437,7 +437,7 @@ export default {
437
437
  switchButtonBackgroundColor:{
438
438
  type:String,
439
439
  },
440
- preventIsDisabledOnItems:{
440
+ preventIsDisabledOnItemsValue:{
441
441
  type: Boolean,
442
442
  default: false
443
443
  }
@@ -566,7 +566,7 @@ export default {
566
566
  getItemContent(column, item) {
567
567
  if ( column.isSwitch ) return
568
568
 
569
- if (this.formatFunction && !item.is_disabled || this.preventIsDisabledOnItems) {
569
+ if (this.formatFunction && !item.is_disabled || this.preventIsDisabledOnItemsValue) {
570
570
  return this.formatFunction(column.key, item.data[column.key], item.data, item.study_id)
571
571
  } else if (item.is_disabled) {
572
572
  return '--'