Bug 1850283 - follow-up to fix linting. rs=eslint DONTBUILD

--HG--
extra : amend_source : 1ed2c3dc548f087f04d9e6b54637622d88b8fdef
This commit is contained in:
Magnus Melin 2023-08-31 08:26:08 +03:00
Родитель 2498273909
Коммит 84a8cadd55
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -1152,10 +1152,7 @@ FolderDisplayWidget.prototype = {
// persistent than our saveSelection/restoreSelection stuff), and the view
// is backed by a single underlying folder (the only way having just a
// message key works out), try that
if (
this.view.isSingleFolder &&
this.view.displayedFolder
) {
if (this.view.isSingleFolder && this.view.displayedFolder) {
// use the displayed folder; nsMsgDBView goes to the effort to save the
// state to the viewFolder, so this is the correct course of action.
let lastLoadedMessageKey = this.view.displayedFolder.lastMessageLoaded;