@dataloop-ai/components 0.20.116 → 0.20.117
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
|
@@ -543,11 +543,9 @@ export default defineComponent({
|
|
|
543
543
|
: '',
|
|
544
544
|
isRowHighlighted:
|
|
545
545
|
props.highlightedRow &&
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
: props.rowKey()
|
|
550
|
-
] === props.highlightedRow,
|
|
546
|
+
(typeof props.rowKey === 'string'
|
|
547
|
+
? row[props.rowKey] === props.highlightedRow
|
|
548
|
+
: false),
|
|
551
549
|
level,
|
|
552
550
|
class: 'nested-element dl-tr',
|
|
553
551
|
'data-level': level,
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
>
|
|
13
13
|
<td
|
|
14
14
|
v-if="hasDraggableRows"
|
|
15
|
-
:style="`width: 25px; opacity: ${
|
|
15
|
+
:style="`width: 25px; opacity: ${
|
|
16
|
+
isDragIconVisible || isRowHighlighted ? '1' : '0'
|
|
17
|
+
}`"
|
|
16
18
|
>
|
|
17
19
|
<dl-icon class="draggable-icon" icon="icon-dl-drag" size="12px" />
|
|
18
20
|
</td>
|