mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03:00
Remove rl.showScreenPopup in favour of AbstractViewPopup.showModal
This commit is contained in:
parent
649f74fc51
commit
f6400b6da2
5 changed files with 17 additions and 12 deletions
|
|
@ -244,10 +244,7 @@ const
|
|||
}, 1);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
getScreenPopupViewModel = ViewModelClassToShow =>
|
||||
(buildViewModel(ViewModelClassToShow) && ViewModelClassToShow.__dom) && ViewModelClassToShow.__vm;
|
||||
};
|
||||
|
||||
|
||||
export const
|
||||
|
|
@ -281,7 +278,8 @@ export const
|
|||
* @returns {void}
|
||||
*/
|
||||
showScreenPopup = (ViewModelClassToShow, params = []) => {
|
||||
const vm = getScreenPopupViewModel(ViewModelClassToShow);
|
||||
const vm = buildViewModel(ViewModelClassToShow) && ViewModelClassToShow.__dom && ViewModelClassToShow.__vm;
|
||||
|
||||
if (vm) {
|
||||
params = params || [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue