Fix blank Manage Menus modal by setting title/body before showing
showMenuManager() was passing arguments to showModal() which accepts none, so the modal content was silently discarded. Now follows the same pattern as all other modal callers in the file. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c6a45f7024
commit
38b13b5bd9
1 changed files with 3 additions and 3 deletions
|
|
@ -3420,9 +3420,9 @@
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
this.showModal('Manage Menus', content, [
|
||||
{ text: 'Close', primary: false, action: () => this.closeModal() }
|
||||
]);
|
||||
document.getElementById('modalTitle').textContent = 'Manage Menus';
|
||||
document.getElementById('modalBody').innerHTML = content;
|
||||
this.showModal();
|
||||
},
|
||||
|
||||
// Format days active bitmask to readable string
|
||||
|
|
|
|||
Reference in a new issue