File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export const state = () => ({
1111 period : 'last_30_days' ,
1212 chartPeriod : 'last_year' ,
1313 show : 'all' ,
14+ countType : 'all' ,
1415 orgSearchTerm : '' ,
1516 userSearchTerm : '' ,
1617} )
@@ -23,6 +24,7 @@ export const getters = {
2324 getPeriod : ( state ) => state . period ,
2425 getChartPeriod : ( state ) => state . chartPeriod ,
2526 getShow : ( state ) => state . show ,
27+ getCountType : ( state ) => state . countType ,
2628 getOrgSearchTerm : ( state ) => state . orgSearchTerm ,
2729 getUserSearchTerm : ( state ) => state . userSearchTerm ,
2830}
@@ -64,6 +66,9 @@ export const mutations = {
6466 setShow ( state , show ) {
6567 state . show = show
6668 } ,
69+ setCountType ( state , countType ) {
70+ state . countType = countType
71+ } ,
6772 setOrgSearchTerm ( state , searchTerm ) {
6873 state . orgSearchTerm = searchTerm
6974 } ,
You can’t perform that action at this time.
0 commit comments