Code refactoring

This commit is contained in:
RainLoop Team 2015-02-03 03:58:58 +04:00
parent 79233ad83c
commit 286ab567af
53 changed files with 618 additions and 581 deletions

View file

@ -22,7 +22,7 @@
{
this.packagesError = ko.observable('');
this.packages = PackageStore.collection;
this.packages = PackageStore.packages;
this.packagesReal = PackageStore.packagesReal;
this.packagesMainUpdatable = PackageStore.packagesMainUpdatable;
@ -39,7 +39,7 @@
});
this.visibility = ko.computed(function () {
return PackageStore.collection.loading() ? 'visible' : 'hidden';
return PackageStore.packages.loading() ? 'visible' : 'hidden';
}, this);
}