Skip to content

Commit

Permalink
test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
wg102 committed Mar 28, 2024
1 parent 4b70227 commit 640fec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/centraldashboard/public/components/main-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,6 @@ export class MainPage extends mixinBehaviors([AppLocalizeBehavior], utilitiesMix
* @return {boolean}
*/
computeShouldFetchEnv(registrationFlow, workgroupStatusHasLoaded) {
console.log('registration ' + registrationFlow);
console.log('workgroup ' + workgroupStatusHasLoaded);
return !registrationFlow && workgroupStatusHasLoaded;
}

Expand All @@ -462,6 +460,7 @@ export class MainPage extends mixinBehaviors([AppLocalizeBehavior], utilitiesMix
computeShouldFetchUser(registrationFlow, workgroupStatusHasLoaded) {
console.log('registration ' + registrationFlow);
console.log('workgroup ' + workgroupStatusHasLoaded);
console.log('both ' +registrationFlow && workgroupStatusHasLoaded);
return registrationFlow && workgroupStatusHasLoaded;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ iron-ajax(auto, id='ajax-dashboard-links', url='/api/dashboard-links', handle-as
iron-ajax#envInfo(auto='[[_shouldFetchEnv]]', url='/api/workgroup/env-info', handle-as='json',
on-response='_onEnvInfoResponse')
iron-ajax#envInfo(auto='[[_shouldFetchUser]]', url='/api/workgroup/user-info', handle-as='json',
on-response='_onUserInfoResponse')
on-response='_onUserInfoResponse', on-error='_onNotebookServersError')
iron-ajax(auto, url="[[getNotebookServersUrl]]", handle-as="json",
loading="{{loading}}", on-response="_onNotebookServersResponse", on-error="_onNotebookServersError")
aside#PageLoader(hidden='{{!pageLoading}}')
Expand Down

0 comments on commit 640fec6

Please sign in to comment.