don't handle queue in legacy front if element is not visible

This commit is contained in:
bymyself 2025-04-09 14:58:39 -07:00
parent ad14e1ed13
commit 163782e445

View File

@ -1557,6 +1557,9 @@ export class CustomNodesManager {
async onQueueStatus(event) {
let self = CustomNodesManager.instance;
// If legacy manager front is not open, return early (using new manager front)
if (self.element?.style.display === 'none') return
if(event.detail.status == 'in_progress' && event.detail.ui_target == 'nodepack_manager') {
const hash = event.detail.target;