@policystudio/policy-studio-ui-vue 1.1.43 → 1.1.44

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.43",
3
+ "version": "1.1.44",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -436,8 +436,8 @@ export default {
436
436
  },
437
437
  mounted () {
438
438
  this.setCollapsedRows()
439
- this.$eventBus.$on('resetPolicyImpactItemSelected', (item) => {
440
- this.$eventBus.$emit('setPolicyItemSelected', { item, columnSelectedKey: 'forecast_emissions_savings' })
439
+ this.$eventBus.$on('resetPolicyImpactItemSelected', (item, columnKey = 'forecast_emissions_savings') => {
440
+ this.$eventBus.$emit('setPolicyItemSelected', { item, columnSelectedKey: columnKey })
441
441
  this.selectedRow = null
442
442
  })
443
443
  },