This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Expand file tree Collapse file tree 4 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5959 "//--- contact configs ---//" : " " ,
6060 "EMAIL_SUPPORT" : " coderplanets@outlook.com" ,
6161 "// GRAPHQL_ENDPOINT" : " https://api.coderplanets.com/graphiql" ,
62- "BUILD_VERSION" : " v2.0.93 " ,
62+ "BUILD_VERSION" : " v2.0.94 " ,
6363 "// 1000 * 60 * 10 = 10 mins" : " " ,
6464 "SSR_CACHE_TIME" : 60000
6565}
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ const DataSolver = [
102102 match : asyncRes ( EVENT . COMMUNITY_CHANGE_BEFORE ) ,
103103 action : ( data ) : void => {
104104 const { path } = data [ EVENT . COMMUNITY_CHANGE_BEFORE ]
105- send ( EVENT . DRAWER . CLOSE )
106105 store . changeCommunity ( path )
107106 send ( EVENT . COMMUNITY_CHANGE )
108107 } ,
Original file line number Diff line number Diff line change @@ -282,10 +282,12 @@ export const changeToCommunity = (raw = ''): void => {
282282 if ( isNonCommunityPage || isArticlePage || isTargetNonCommunityPage ) {
283283 const target = raw === HCN ? '' : raw
284284 Router . push ( `/${ target } ` )
285+ send ( EVENT . DRAWER . CLOSE )
285286 return
286287 }
287288
288289 send ( EVENT . COMMUNITY_CHANGE_BEFORE , { path : raw } )
290+ send ( EVENT . DRAWER . CLOSE )
289291}
290292
291293/**
You can’t perform that action at this time.
0 commit comments