This repository was archived by the owner on Sep 11, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33
44
5- ## [0.4] - 27-12-2016
5+ ## [0.4.1]
6+
7+ ### Fixed
8+ - Fix a problem on changeSelectedPhoto mutation
9+
10+
11+ ## [0.4.0] - 27-12-2016
612
713### Added
814- Add new Photo component
@@ -17,7 +23,7 @@ All notable changes to this project will be documented in this file.
1723- Remove index as second parameter to change the Photo
1824
1925
20- ## [0.3] - 23-12-2016
26+ ## [0.3.0 ] - 23-12-2016
2127
2228### Added
2329- Add Vuex ad dependency
@@ -42,7 +48,7 @@ All notable changes to this project will be documented in this file.
4248- Fix a problem with npmjs.org sync
4349
4450
45- ## [0.2] - 07-12-2016
51+ ## [0.2.0 ] - 07-12-2016
4652
4753### Added
4854- Add Theater component
@@ -57,7 +63,7 @@ All notable changes to this project will be documented in this file.
5763- Fix position of Theater component
5864
5965
60- ## [0.1] - 29-11-2016
66+ ## [0.1.0 ] - 29-11-2016
6167
6268### Added
6369- Add first version of the carousel component
Original file line number Diff line number Diff line change 11{
22 "name" : " vuejs-carousel" ,
33 "description" : " Complete photo carousel build with VueJS and web standards in mind" ,
4- "version" : " 0.4.0 " ,
4+ "version" : " 0.4.1 " ,
55 "author" : " Claudio Ludovico Panetta <ludovico1990@hotmail.it>" ,
66 "private" : false ,
77 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ export const mutations = {
44 } ,
55
66 changeSelectedPhoto ( state , photo ) {
7- state . selectedPhoto = ( photo != null && Object . keys ( photo ) . length > 0 ) ? photo : { } ;
7+ state . selectedPhoto = ( ( photo !== undefined || photo !== null ) && Object . keys ( photo ) . length > 0 ) ? photo : { } ;
88 }
99} ;
You can’t perform that action at this time.
0 commit comments