diff --git a/app/ui/components/modals/index.js b/app/ui/components/modals/index.js index 896ef9d709..4d12637467 100644 --- a/app/ui/components/modals/index.js +++ b/app/ui/components/modals/index.js @@ -31,6 +31,10 @@ export function hideModal (modalCls) { return _getModal(modalCls).hide(); } +export function reloadModal (modalCls) { + return _getModal(modalCls)._load(); +} + export function hideAllModals () { for (const key of Object.keys(modals)) { const modal = modals[key];