fix(view): automatically refresh view only if a number is set.

This commit is contained in:
Hivert Quentin
2025-07-07 15:39:59 +02:00
parent d48befd151
commit 55dbae6bee
5 changed files with 5 additions and 5 deletions

View File

@@ -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);
});
};