mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add new "Move to folder" button
This commit is contained in:
parent
2c3881abc6
commit
f0e9d1a6d5
14 changed files with 312 additions and 182 deletions
|
|
@ -192,10 +192,23 @@ export const VIEW_MODELS = {
|
|||
'settings-disabled': []
|
||||
};
|
||||
|
||||
export const moveAction = ko.observable(false);
|
||||
export const leftPanelDisabled = ko.observable(false);
|
||||
export const leftPanelType = ko.observable('');
|
||||
export const leftPanelWidth = ko.observable(0);
|
||||
|
||||
leftPanelDisabled.subscribe((value) => {
|
||||
if (value && moveAction()) {
|
||||
moveAction(false);
|
||||
}
|
||||
});
|
||||
|
||||
moveAction.subscribe((value) => {
|
||||
if (value && leftPanelDisabled()) {
|
||||
leftPanelDisabled(false);
|
||||
}
|
||||
});
|
||||
|
||||
// popups
|
||||
export const popupVisibilityNames = ko.observableArray([]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue