Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

navbar_alerts: Fix stale button type label.

Tim Abbottf4ad3ba22d42
diff --git a/web/src/navbar_alerts.ts b/web/src/navbar_alerts.ts
index 49f0a329e42..b36600cf911 100644
--- a/web/src/navbar_alerts.ts
+++ b/web/src/navbar_alerts.ts
@@ -251,7 +251,7 @@ const UNSUPPORTED_BROWSER_BANNER: AlertBanner = {
}),
buttons: [
{
- attention: "borderless",
+ variant: "text",
label: $t({defaultMessage: "Learn more"}),
custom_classes: "unsupported-browser-learn-more",
},
diff --git a/web/src/portico/showroom.ts b/web/src/portico/showroom.ts
index fdfe02b15c1..b0c3a2146c5 100644
--- a/web/src/portico/showroom.ts
+++ b/web/src/portico/showroom.ts
@@ -187,7 +187,7 @@ const alert_banners: Record<string, AlertBanner> = {
label: "Because you're using an unsupported or very old browser, Zulip may not work as expected.",
buttons: [
{
- attention: "borderless",
+ variant: "text",
intent: "warning",
label: "Learn more",
},