mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-26 15:29:31 +00:00
fix(view): automatically refresh view only if a number is set.
This commit is contained in:
@@ -587,7 +587,7 @@
|
||||
}
|
||||
}).finally(function () {
|
||||
var refreshViewCheck = _this.defaults.SOGoRefreshViewCheck;
|
||||
if (refreshViewCheck && refreshViewCheck != 'manually')
|
||||
if (refreshViewCheck && refreshViewCheck != 'manually' && !isNaN(refreshViewCheck))
|
||||
_this.nextInboxPoll = Preferences.$timeout(angular.bind(_this, _this.pollInbox), refreshViewCheck.timeInterval()*1000);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user