Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 690a61d

Browse files
committed
merge develop
2 parents 0f2ba1c + 4dfb311 commit 690a61d

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [1.8.3] - 2019.03.03
8+
89
### Added
910
- New reactive helper to check online state. Usage: `import { onlineHelper } from '@vue-storefront/core/helpers'` and then `onlineHelper.isOnline` - @patzick (#2510)
1011

1112
### Fixed
1213
- Problem with placing second order (unbinding payment methods after first order) - @patzick (#2195, #2503)
1314
- Remaking order on user orders page - @patzick (#2480)
1415
- Images blinking on category page - @pkarw (#2523)
16+
- state.ts not bound in the module-template - @pkarw (#2496)
1517
- Validation in the Myprofile section for postcode field - @pkarw (#1317)
1618
- Non-integer qty of product added to the cart - @pkarw (#2517)
1719

@@ -26,10 +28,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2628
- Added video support in Product Gallery component. - @rain2o (#2433)
2729
- Improved product quantity change component in product and cart - @patzick (#2398, #2437)
2830
- Updated to Vue 2.6.6 - @filrak (#2456)
29-
- Null sidebar menu data on static page fixed - @filrak (#2456)
31+
- Null sidebar menu data on static page fixed - @filrak (#2449, #2441)
3032
- Fix cannot edit previous steps in checkout - @filrak, @patzick (#2438)
3133
- Fixed route guard ssr problem - @vue-kacper (#2364)
32-
- Fix links in footer to static pages bug - @filrak (#2464)
34+
- Fix links in footer to static pages bug - @filrak (#2452)
3335
- Fix links at docs, Basics/Configuration file explained - @daksamit (#2490)
3436
- Improve images loading on category page, corrected alt view and blinking problem - @patzick (#2465)
3537
- Improve tsconfig for better IDE paths support - @patzick, @filrak (#2474)

core/compatibility/components/blocks/Category/Sidebar.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ export default {
3333
return [...filters].sort((a, b) => { return a.id - b.id })
3434
},
3535
resetAllFilters () {
36-
this.$bus.$emit('filter-reset')
37-
this.$store.dispatch('category/resetFilters')
38-
this.$store.dispatch('category/searchProductQuery', {})
39-
this.$store.dispatch('category/mergeSearchOptions', {
40-
searchProductQuery: buildFilterProductsQuery(this.category, this.activeFilters)
41-
})
42-
this.$store.dispatch('category/products', this.getCurrentCategoryProductQuery)
36+
if (this.hasActiveFilters) {
37+
this.$bus.$emit('filter-reset')
38+
this.$store.dispatch('category/resetFilters')
39+
this.$store.dispatch('category/searchProductQuery', {})
40+
this.$store.dispatch('category/mergeSearchOptions', {
41+
searchProductQuery: buildFilterProductsQuery(this.category, this.activeFilters)
42+
})
43+
this.$store.dispatch('category/products', this.getCurrentCategoryProductQuery)
44+
}
4345
}
4446
}
4547
}

src/modules/module-template/store/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ import { ExampleState } from '../types/ExampleState'
33
import { mutations } from './mutations'
44
import { getters } from './getters'
55
import { actions } from './actions'
6+
import { state } from './state'
67

78
export const module: Module<ExampleState, any> = {
89
namespaced: true,
910
mutations,
1011
actions,
11-
getters
12+
getters,
13+
state
1214
}

0 commit comments

Comments
 (0)