@policystudio/policy-studio-ui-vue 1.1.61 → 1.1.62

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.61",
3
+ "version": "1.1.62",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -76,7 +76,7 @@
76
76
  >
77
77
  <div class="flex psui-items-center psui-relative ">
78
78
  <PsIcon v-if="item.has_blocked_icon" icon="do_disturb_alt" size="14" icon-classes="psui-absolute psui--left-1 psui-text-gray-50"/>
79
- <p class="title psui-text-gray-50 opacity-100-childrens-on-hover">
79
+ <p class="title psui-text-gray-50 opacity-100-childrens-on-hover" :style='item.text_color ? `color: ${item.text_color};` : ""'>
80
80
 
81
81
  {{ item.title }}
82
82
 
@@ -554,6 +554,10 @@ export default {
554
554
  return isHidden
555
555
  },
556
556
  onCollapse(item) {
557
+ if(this.itemsHiddenIndexes && this.itemsHiddenIndexes.some(it => it == item.index.toString()) && this.layout == 'flexible') {
558
+ return
559
+ }
560
+
557
561
  const index = this.collapsedRows.indexOf(item.index)
558
562
  if(index > -1) {
559
563
  this.collapsedRows.splice(index, 1)