@worksafevictoria/wcl7.5 1.1.0-beta.63 → 1.1.0-beta.64
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
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
:class="{
|
|
15
15
|
[uniqueClass]: true
|
|
16
16
|
}"
|
|
17
|
+
:card-browse-content="cardBrowseContent"
|
|
17
18
|
>
|
|
18
19
|
<template v-if="$slots.gridHeaderRight" v-slot:headerRight>
|
|
19
20
|
<slot name="gridHeaderRight"></slot>
|
|
@@ -154,6 +155,10 @@ export default {
|
|
|
154
155
|
contentClass: {
|
|
155
156
|
type: String,
|
|
156
157
|
default: ''
|
|
158
|
+
},
|
|
159
|
+
cardBrowseContent: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
default: false
|
|
157
162
|
}
|
|
158
163
|
},
|
|
159
164
|
data() {
|
|
@@ -248,7 +253,7 @@ export default {
|
|
|
248
253
|
|
|
249
254
|
this.$emit('selected', {
|
|
250
255
|
selectedCard: selectedCard.selected
|
|
251
|
-
? this.childCards[selectedCardModelIndex]
|
|
256
|
+
? this.cardBrowseContent ? this.childCards[selectedCardModelIndex] : this.cards[selectedCardModelIndex]
|
|
252
257
|
: null,
|
|
253
258
|
selectedCardModelIndex,
|
|
254
259
|
ev
|