mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Changed: StorageResultType to error result code
This commit is contained in:
parent
be3ef15f8e
commit
4a8d516123
33 changed files with 257 additions and 302 deletions
|
|
@ -2,8 +2,7 @@ import ko from 'ko';
|
|||
|
||||
import {
|
||||
Capa,
|
||||
KeyState,
|
||||
StorageResultType
|
||||
KeyState
|
||||
} from 'Common/Enums';
|
||||
|
||||
import {
|
||||
|
|
@ -853,8 +852,8 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
|
|||
addRequestedMessage(message.folder, message.uid);
|
||||
|
||||
Remote.message(
|
||||
(result, data) => {
|
||||
const next = !!(StorageResultType.Success === result && data && data.Result);
|
||||
(iError, data) => {
|
||||
const next = !!(!iError && data && data.Result);
|
||||
setTimeout(() => {
|
||||
this.bPrefetch = false;
|
||||
next && this.prefetchNextTick();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue