File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9797 "basicZoneEnabled" : true ,
9898 "multipleServer" : false ,
9999 "allowSettingTheme" : true ,
100- "docHelpMappings" : {}
100+ "docHelpMappings" : {},
101+ "notifyLatestCSVersion" : true
101102}
Original file line number Diff line number Diff line change @@ -317,7 +317,6 @@ const user = {
317317 const result = response . listusersresponse . user [ 0 ]
318318 commit ( 'SET_INFO' , result )
319319 commit ( 'SET_NAME' , result . firstname + ' ' + result . lastname )
320- store . dispatch ( 'SetCsLatestVersion' , result . rolename )
321320 resolve ( cachedApis )
322321 } ) . catch ( error => {
323322 reject ( error )
@@ -564,6 +563,9 @@ const user = {
564563 commit ( 'SET_DOMAIN_STORE' , domainStore )
565564 } ,
566565 SetCsLatestVersion ( { commit } , rolename ) {
566+ if ( ! vueProps . $config . notifyLatestCSVersion ) {
567+ return
568+ }
567569 const lastFetchTs = store . getters . latestVersion ?. fetchedTs ? store . getters . latestVersion . fetchedTs : 0
568570 if ( rolename === 'Root Admin' && ( + new Date ( ) - lastFetchTs ) > 24 * 60 * 60 * 1000 ) {
569571 axios . get (
You can’t perform that action at this time.
0 commit comments