mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Rename backToMailBoxClick to backToInbox
This commit is contained in:
parent
c7e51f5b2c
commit
9383277e64
3 changed files with 3 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
|||
import { settings, mailbox } from 'Common/Links';
|
||||
import { getFolderInboxName } from 'Common/Cache';
|
||||
import { settings } from 'Common/Links';
|
||||
|
||||
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
||||
|
||||
|
@ -16,8 +15,4 @@ export class SettingsMenuUserView extends AbstractViewLeft {
|
|||
link(route) {
|
||||
return settings(route);
|
||||
}
|
||||
|
||||
backToMailBoxClick() {
|
||||
hasher.setHash(mailbox(getFolderInboxName()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ export class SettingsPaneUserView extends AbstractViewRight {
|
|||
);
|
||||
}
|
||||
|
||||
backToMailBoxClick() {
|
||||
backToInbox() {
|
||||
hasher.setHash(mailbox(getFolderInboxName()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
<a class="btn btn-thin fontastic toggleLeft" data-bind="click: leftPanelDisabled.toggle, text: leftPanelDisabled() ? '❯' : '❮'">❮</a>
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
<a class="btn" data-bind="click: backToMailBoxClick" data-icon="⬅" data-i18n="GLOBAL/BACK"></a>
|
||||
<a class="btn" data-bind="click: backToInbox" data-icon="⬅" data-i18n="GLOBAL/BACK"></a>
|
||||
</div>
|
||||
<div id="rl-settings-subscreen"></div>
|
||||
|
|
Loading…
Reference in a new issue