Merge pull request #734 from PR0M3TH3AN/codex/add-view-channel-and-copy-npub-buttons

Add channel controls to profile modal lists
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-20 14:21:06 -04:00
commit ee6ba4c022
4 files changed
+244 -26

No files matched your search

+3 -1
View File
@@ -683,7 +683,9 @@ test('admin mutations invoke accessControl stubs and update admin DOM', async ()
assert.equal(whitelistButton.hasAttribute('aria-busy'), false);
assert.ok(successMessages.includes('Added to the whitelist.'));
const removeButton = controller.whitelistList.querySelector('button');
const removeButton = controller.whitelistList.querySelector(
'button[data-role="remove"]',
);
await controller.handleAdminListMutation('whitelist', 'remove', 'npub1allow', removeButton);
const removeEvent = accessEvents.find((entry) => entry[0] === 'removeWhitelist');
assert.deepEqual(removeEvent, [