@@ -24,6 +24,7 @@ const state = {
2424 logoWidth : 0 ,
2525 logoImage : null ,
2626 logoType : null ,
27+ centered : false ,
2728 backgroundType : BackgroundTypes . gradient ,
2829 backgroundImage : null ,
2930 backgroundImageId : false ,
@@ -116,6 +117,7 @@ const mutations = {
116117 setLogoWidth : ( state , width ) => state . logoWidth = width ,
117118 setLogoImage : ( state , image ) => state . logoImage = image ,
118119 setLogoType : ( state , type ) => state . logoType = type ,
120+ setCentered : ( state , value ) => state . centered = value ,
119121 setBackgroundType : ( state , type ) => state . backgroundType = type ,
120122 setBackgroundImage : ( state , image ) => state . backgroundImage = image ,
121123 setBackgroundImageId : ( state , id ) => state . backgroundImageId = id ,
@@ -170,6 +172,9 @@ const actions = {
170172 setLogoType ( { commit} , type ) {
171173 commit ( 'setLogoType' , type )
172174 } ,
175+ setCentered ( { commit} , value ) {
176+ commit ( 'setCentered' , value )
177+ } ,
173178 setBackgroundType ( { commit} , type ) {
174179 commit ( 'setBackgroundType' , type )
175180 } ,
0 commit comments