mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
added modal reload function
This commit is contained in:
parent
fcb4a58da9
commit
35ba85dc97
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user