Commit 5a013ca7 by Dányi Bence

store: ajax default values

parent ada74b88
...@@ -305,9 +305,9 @@ $(function() { ...@@ -305,9 +305,9 @@ $(function() {
return false; return false;
}); });
self.quota = { self.quota = {
rawUsed: ko.observable(), rawUsed: ko.observable(0),
rawSoft: ko.observable(), rawSoft: ko.observable(0),
rawHard: ko.observable() rawHard: ko.observable(0)
}; };
self.quota.used=ko.computed(function(){ self.quota.used=ko.computed(function(){
var suffix = 'KB MB GB'.split(' '); var suffix = 'KB MB GB'.split(' ');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment