mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-04 04:02:20 +03:00
v2.18.6
This commit is contained in:
parent
063ed7d844
commit
dc241ded1b
12 changed files with 18 additions and 16 deletions
|
|
@ -4,7 +4,7 @@ import { koComputable } from 'External/ko';
|
|||
import { Layout } from 'Common/EnumsUser';
|
||||
import { pInt } from 'Common/Utils';
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
import { $htmlCL, SettingsGet, fireEvent } from 'Common/Globals';
|
||||
import { $htmlCL, SettingsGet, SettingsCapa, fireEvent } from 'Common/Globals';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
|
||||
export const SettingsUserStore = new class {
|
||||
|
|
@ -57,7 +57,7 @@ export const SettingsUserStore = new class {
|
|||
let iAutoLogoutTimer;
|
||||
self.delayLogout = (() => {
|
||||
clearTimeout(iAutoLogoutTimer);
|
||||
if (0 < self.autoLogout() && !SettingsGet('AccountSignMe')) {
|
||||
if (0 < self.autoLogout() && !SettingsGet('AccountSignMe') && SettingsCapa('AutoLogout')) {
|
||||
iAutoLogoutTimer = setTimeout(
|
||||
rl.app.logout,
|
||||
self.autoLogout() * 60000
|
||||
|
|
|
|||
|
|
@ -345,6 +345,9 @@ html.rl-no-preview-pane {
|
|||
background: #e8e8e8;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.attachmentsControls > * {
|
||||
margin-right: 0.5em
|
||||
}
|
||||
|
||||
.sm-bq-switcher > summary {
|
||||
border: 1px solid #999;
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
}
|
||||
|
||||
downloadAsZip() {
|
||||
const hashes = (currentMessage() ? currentMessage().attachments : [])
|
||||
const hashes = (currentMessage()?.attachments || [])
|
||||
.map(item => item?.checked() /*&& !item?.isLinked()*/ ? item.download : '')
|
||||
.filter(v => v);
|
||||
if (hashes.length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue