File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/renderer/store/modules Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ const state = {
66 repositoryList : [ ] ,
77 model : {
88 addLocalRepository : false ,
9- newRepository : false
9+ newRepository : false ,
10+ about : false
1011 }
1112}
1213
@@ -22,6 +23,9 @@ const mutations = {
2223 toggleAddLocalRepositoryModel ( state ) {
2324 state . model . addLocalRepository = ! state . model . addLocalRepository
2425 } ,
26+ toggleAboutModel ( state ) {
27+ state . model . about = ! state . model . about
28+ } ,
2529 localRepository ( state , payload ) {
2630 let repositoryData = {
2731 path : payload . path ,
@@ -66,6 +70,11 @@ const actions = {
6670 commit ( {
6771 type : "toggleAddLocalRepositoryModel"
6872 } )
73+ } ,
74+ showAboutModel : ( { commit } ) => {
75+ commit ( {
76+ type : "toggleAboutModel"
77+ } )
6978 }
7079}
7180
You can’t perform that action at this time.
0 commit comments