Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

fix: show subscription description only in expanded card

Emre Sokullu169c7092d396
diff --git a/dist/webbrain-chrome-42.4.3.zip b/dist/webbrain-chrome-42.4.3.zip
index 324ed3325..3cba7219b 100644
Binary files a/dist/webbrain-chrome-42.4.3.zip and b/dist/webbrain-chrome-42.4.3.zip differ
diff --git a/dist/webbrain-edge-42.4.3.zip b/dist/webbrain-edge-42.4.3.zip
index b5fda2dcf..4d5c8d4e1 100644
Binary files a/dist/webbrain-edge-42.4.3.zip and b/dist/webbrain-edge-42.4.3.zip differ
diff --git a/dist/webbrain-firefox-42.4.3.zip b/dist/webbrain-firefox-42.4.3.zip
index c6a5e53ae..dc4abe92e 100644
Binary files a/dist/webbrain-firefox-42.4.3.zip and b/dist/webbrain-firefox-42.4.3.zip differ
diff --git a/src/chrome/src/ui/settings.js b/src/chrome/src/ui/settings.js
index 3cf6db218..4e3242ea9 100644
--- a/src/chrome/src/ui/settings.js
+++ b/src/chrome/src/ui/settings.js
@@ -4517,7 +4517,7 @@ function wrapCollapsibleCard(id, config, isSelected, isConfigured, bodyHtml) {
body.innerHTML = bodyHtml;
card.appendChild(header);
- if (!expanded && providerDefinitionId(id, config) === 'webbrain_companion') {
+ if (expanded && providerDefinitionId(id, config) === 'webbrain_companion') {
const summary = document.createElement('div');
summary.className = 'provider-companion-summary';
summary.innerHTML = `<p>${escapeHtml(t('st.providers.companion_guide.summary'))}</p>
diff --git a/src/firefox/src/ui/settings.js b/src/firefox/src/ui/settings.js
index 059de39a0..9c035baf5 100644
--- a/src/firefox/src/ui/settings.js
+++ b/src/firefox/src/ui/settings.js
@@ -3816,7 +3816,7 @@ function wrapCollapsibleCard(id, config, isSelected, isConfigured, bodyHtml) {
body.innerHTML = bodyHtml;
card.appendChild(header);
- if (!expanded && providerDefinitionId(id, config) === 'webbrain_companion') {
+ if (expanded && providerDefinitionId(id, config) === 'webbrain_companion') {
const summary = document.createElement('div');
summary.className = 'provider-companion-summary';
summary.innerHTML = `<p>${escapeHtml(t('st.providers.companion_guide.summary'))}</p>