@policystudio/policy-studio-ui-vue 1.1.74 → 1.1.75
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
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
/>
|
|
58
58
|
</div>
|
|
59
59
|
<div
|
|
60
|
-
class="psui-flex psui-items-center
|
|
60
|
+
class="psui-flex psui-items-center psui-space-x-3"
|
|
61
61
|
:style="{paddingLeft: `${item.deep * 16}px`}"
|
|
62
62
|
>
|
|
63
63
|
<PsIcon
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
layout="gray"
|
|
137
137
|
class="psui-inline-flex psui-cursor-default"
|
|
138
138
|
:class="[isHoveringRow === index ? 'opacity-1' : 'opacity-0']"
|
|
139
|
-
:ignoreDialog="
|
|
139
|
+
:ignoreDialog="getIgnoreDialogIcon(item)"
|
|
140
140
|
>
|
|
141
141
|
<template v-slot:trigger>
|
|
142
142
|
<PsIcon
|
|
@@ -591,6 +591,9 @@ export default {
|
|
|
591
591
|
|
|
592
592
|
this.isHoveringRow = index
|
|
593
593
|
},
|
|
594
|
+
getIgnoreDialogIcon(item){
|
|
595
|
+
return !this.shouldShowIcon(item) || item.actions[0].ignoreDialog
|
|
596
|
+
},
|
|
594
597
|
shouldShowIcon(item) {
|
|
595
598
|
if(item?.actions?.length === 1) return true
|
|
596
599
|
else return false
|