diff options
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
| -rw-r--r-- | addons/mail/static/src/models/thread_cache/thread_cache.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/models/thread_cache/thread_cache.js b/addons/mail/static/src/models/thread_cache/thread_cache.js index 9d0b4e98e57..0c2ef2af35f 100644 --- a/addons/mail/static/src/models/thread_cache/thread_cache.js +++ b/addons/mail/static/src/models/thread_cache/thread_cache.js @@ -142,9 +142,9 @@ function factory(dependencies) { [l - 1]: lastFetchedMessage, } = this.orderedFetchedMessages; if (!lastFetchedMessage) { - return [['unlink-all']]; + return [['unlink']]; } - return [['replace', lastFetchedMessage]]; + return [['link', lastFetchedMessage]]; } /** @@ -157,9 +157,9 @@ function factory(dependencies) { [l - 1]: lastMessage, } = this.orderedMessages; if (!lastMessage) { - return [['unlink-all']]; + return [['unlink']]; } - return [['replace', lastMessage]]; + return [['link', lastMessage]]; } /** |
