diff --git a/apps/content/src/browser/components/PageAction.svelte b/apps/content/src/browser/components/PageAction.svelte index 1cc455e..e943f67 100644 --- a/apps/content/src/browser/components/PageAction.svelte +++ b/apps/content/src/browser/components/PageAction.svelte @@ -12,9 +12,15 @@ /** @type {import('resource://app/modules/EPageActions.sys.mjs').PageActionImpl} */ export let pageAction + /** @type {number} */ + export let browserViewId const view = PageActionApi.setup(pageAction) const icons = PageActionApi.getIcons(view) + const extensionId = pageAction.extensionId + .replace('@', '') + .replace('}', '') + .replace('{', '') const trigger = view.trigger const panel = view.panel @@ -45,7 +51,11 @@ }) - + {#if $icons} {:else} @@ -54,7 +64,11 @@ {#if pageAction.popupUrl} - + {/if}