@worksafevictoria/wcl7.5 1.1.0-beta.62 → 1.1.0-beta.63
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
|
@@ -58,7 +58,6 @@ import Column from './../../Containers/Column/index.vue'
|
|
|
58
58
|
import SectionGroup from './../../Containers/SectionGroup/index.vue'
|
|
59
59
|
import debounce from 'lodash/debounce'
|
|
60
60
|
|
|
61
|
-
|
|
62
61
|
export default {
|
|
63
62
|
name: 'CardGrid',
|
|
64
63
|
components: { Row, Column, SectionGroup },
|
|
@@ -246,10 +245,10 @@ export default {
|
|
|
246
245
|
this.clearCards()
|
|
247
246
|
selectedCard.selected = !!!selectedCard.selected
|
|
248
247
|
const selectedCardModelIndex = this.getChildIndex(selectedCard)
|
|
249
|
-
|
|
248
|
+
|
|
250
249
|
this.$emit('selected', {
|
|
251
250
|
selectedCard: selectedCard.selected
|
|
252
|
-
? this.
|
|
251
|
+
? this.childCards[selectedCardModelIndex]
|
|
253
252
|
: null,
|
|
254
253
|
selectedCardModelIndex,
|
|
255
254
|
ev
|
|
@@ -304,6 +303,7 @@ export default {
|
|
|
304
303
|
}
|
|
305
304
|
</script>
|
|
306
305
|
|
|
306
|
+
|
|
307
307
|
<style lang="scss" scoped>
|
|
308
308
|
@import '../../../includes/scss/all';
|
|
309
309
|
.card-grid {
|