mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Rename inbox() to mailbox() because we select any mailbox folder
This commit is contained in:
parent
65e9deda2a
commit
997e0561ad
5 changed files with 11 additions and 21 deletions
|
|
@ -18,7 +18,7 @@ import { ComposePopupView } from 'View/Popup/Compose';
|
|||
import { FolderCreatePopupView } from 'View/Popup/FolderCreate';
|
||||
import { ContactsPopupView } from 'View/Popup/Contacts';
|
||||
|
||||
class FolderListMailBoxUserView extends AbstractViewLeft {
|
||||
export class FolderListMailBoxUserView extends AbstractViewLeft {
|
||||
constructor() {
|
||||
super('User/MailBox/FolderList', 'MailFolderList');
|
||||
|
||||
|
|
@ -220,5 +220,3 @@ class FolderListMailBoxUserView extends AbstractViewLeft {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export { FolderListMailBoxUserView };
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
import { KeyState } from 'Common/Enums';
|
||||
import { leftPanelDisabled } from 'Common/Globals';
|
||||
import { settings, inbox } from 'Common/Links';
|
||||
import { settings, mailbox } from 'Common/Links';
|
||||
import { getFolderInboxName } from 'Common/Cache';
|
||||
|
||||
import { settingsMenuKeysHandler } from 'Knoin/Knoin';
|
||||
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
||||
|
||||
class MenuSettingsUserView extends AbstractViewLeft {
|
||||
export class MenuSettingsUserView extends AbstractViewLeft {
|
||||
/**
|
||||
* @param {Object} screen
|
||||
*/
|
||||
|
|
@ -36,8 +36,6 @@ class MenuSettingsUserView extends AbstractViewLeft {
|
|||
}
|
||||
|
||||
backToMailBoxClick() {
|
||||
rl.route.setHash(inbox(getFolderInboxName()));
|
||||
rl.route.setHash(mailbox(getFolderInboxName()));
|
||||
}
|
||||
}
|
||||
|
||||
export { MenuSettingsUserView };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { inbox } from 'Common/Links';
|
||||
import { mailbox } from 'Common/Links';
|
||||
import { getFolderInboxName } from 'Common/Cache';
|
||||
import { leftPanelDisabled } from 'Common/Globals';
|
||||
|
||||
|
|
@ -6,7 +6,7 @@ import MessageStore from 'Stores/User/Message';
|
|||
|
||||
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
||||
|
||||
class PaneSettingsUserView extends AbstractViewRight {
|
||||
export class PaneSettingsUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('User/Settings/Pane', 'SettingsPane');
|
||||
|
||||
|
|
@ -38,8 +38,6 @@ class PaneSettingsUserView extends AbstractViewRight {
|
|||
}
|
||||
|
||||
backToMailBoxClick() {
|
||||
rl.route.setHash(inbox(getFolderInboxName()));
|
||||
rl.route.setHash(mailbox(getFolderInboxName()));
|
||||
}
|
||||
}
|
||||
|
||||
export { PaneSettingsUserView };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue