fix #1126 ('0 requests' -> 'No requests')
This commit is contained in:
parent
dba0e27630
commit
2126f642c3
1 changed files with 3 additions and 1 deletions
|
@ -310,7 +310,9 @@ appPanel
|
||||||
error: pandora.ui.errorDialog,
|
error: pandora.ui.errorDialog,
|
||||||
request: function(data) {
|
request: function(data) {
|
||||||
pandora.$ui.loadingIcon.options({
|
pandora.$ui.loadingIcon.options({
|
||||||
tooltip: data.requests + ' request' + (data.requests == 1 ? '' : 's')
|
tooltip: (data.requests || 'No')
|
||||||
|
+ ' request'
|
||||||
|
+ (data.requests == 1 ? '' : 's')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue