mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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 { settings } from 'Common/Links';
|
||||||
import { getFolderInboxName } from 'Common/Cache';
|
|
||||||
|
|
||||||
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
||||||
|
|
||||||
|
|
@ -16,8 +15,4 @@ export class SettingsMenuUserView extends AbstractViewLeft {
|
||||||
link(route) {
|
link(route) {
|
||||||
return settings(route);
|
return settings(route);
|
||||||
}
|
}
|
||||||
|
|
||||||
backToMailBoxClick() {
|
|
||||||
hasher.setHash(mailbox(getFolderInboxName()));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ export class SettingsPaneUserView extends AbstractViewRight {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
backToMailBoxClick() {
|
backToInbox() {
|
||||||
hasher.setHash(mailbox(getFolderInboxName()));
|
hasher.setHash(mailbox(getFolderInboxName()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,6 @@
|
||||||
<a class="btn btn-thin fontastic toggleLeft" data-bind="click: leftPanelDisabled.toggle, text: leftPanelDisabled() ? '❯' : '❮'">❮</a>
|
<a class="btn btn-thin fontastic toggleLeft" data-bind="click: leftPanelDisabled.toggle, text: leftPanelDisabled() ? '❯' : '❮'">❮</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- /ko -->
|
<!-- /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>
|
||||||
<div id="rl-settings-subscreen"></div>
|
<div id="rl-settings-subscreen"></div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue