File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,6 @@ const user = {
338338 const result = response . listusersresponse . user [ 0 ]
339339 commit ( 'SET_INFO' , result )
340340 commit ( 'SET_NAME' , result . firstname + ' ' + result . lastname )
341- store . dispatch ( 'SetCsLatestVersion' , result . rolename )
342341 resolve ( cachedApis )
343342 } ) . catch ( error => {
344343 reject ( error )
@@ -588,6 +587,9 @@ const user = {
588587 commit ( 'SET_DOMAIN_STORE' , domainStore )
589588 } ,
590589 SetCsLatestVersion ( { commit } , rolename ) {
590+ if ( ! vueProps . $config . notifyLatestCSVersion ) {
591+ return
592+ }
591593 const lastFetchTs = store . getters . latestVersion ?. fetchedTs ? store . getters . latestVersion . fetchedTs : 0
592594 if ( rolename === 'Root Admin' && ( + new Date ( ) - lastFetchTs ) > 24 * 60 * 60 * 1000 ) {
593595 axios . get (
You can’t perform that action at this time.
0 commit comments