mirror of https://github.com/rancher/ui.git
add back in comments
This commit is contained in:
parent
e75b037f1d
commit
ea5234290d
|
|
@ -1,8 +1,8 @@
|
||||||
|
import { get, observer, set } from '@ember/object';
|
||||||
|
import Route from '@ember/routing/route';
|
||||||
import { cancel, next, schedule } from '@ember/runloop';
|
import { cancel, next, schedule } from '@ember/runloop';
|
||||||
import { inject as service } from '@ember/service';
|
import { inject as service } from '@ember/service';
|
||||||
import Route from '@ember/routing/route';
|
|
||||||
import C from 'ui/utils/constants';
|
import C from 'ui/utils/constants';
|
||||||
import { get, set, observer } from '@ember/object';
|
|
||||||
|
|
||||||
export default Route.extend({
|
export default Route.extend({
|
||||||
access: service(),
|
access: service(),
|
||||||
|
|
@ -60,10 +60,12 @@ export default Route.extend({
|
||||||
|
|
||||||
cancel(get(this, 'hideTimer'));
|
cancel(get(this, 'hideTimer'));
|
||||||
|
|
||||||
|
// console.log('Loading', id);
|
||||||
this.notifyAction('need-to-load');
|
this.notifyAction('need-to-load');
|
||||||
|
|
||||||
if ( !get(this, 'loadingShown') ) {
|
if ( !get(this, 'loadingShown') ) {
|
||||||
set(this, 'loadingShown', true);
|
set(this, 'loadingShown', true);
|
||||||
|
// console.log('Loading Show', id);
|
||||||
this.notifyLoading(true);
|
this.notifyLoading(true);
|
||||||
|
|
||||||
schedule('afterRender', () => {
|
schedule('afterRender', () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue