From b00e7d3edc3100800b7806a7c470ff43e91bffc6 Mon Sep 17 00:00:00 2001
From: Petr Stribny <petr@stribny.name>
Date: Wed, 12 Mar 2025 03:58:35 +0100
Subject: [PATCH] Add chart widget to enterprise features modal

---
 .../baserow_enterprise/components/EnterpriseFeatures.vue   | 7 +++++++
 .../modules/baserow_enterprise/locales/en.json             | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/enterprise/web-frontend/modules/baserow_enterprise/components/EnterpriseFeatures.vue b/enterprise/web-frontend/modules/baserow_enterprise/components/EnterpriseFeatures.vue
index 9611d68f5..60666398a 100644
--- a/enterprise/web-frontend/modules/baserow_enterprise/components/EnterpriseFeatures.vue
+++ b/enterprise/web-frontend/modules/baserow_enterprise/components/EnterpriseFeatures.vue
@@ -42,6 +42,13 @@
       <i class="iconoir-check premium-features__feature-icon"></i>
       {{ $t('enterpriseFeatures.support') }}
     </li>
+    <li
+      v-if="!hiddenFeatures.includes(enterpriseFeatures.CHART_WIDGET)"
+      class="premium-features__feature"
+    >
+      <i class="iconoir-check premium-features__feature-icon"></i>
+      {{ $t('enterpriseFeatures.chartWidget') }}
+    </li>
   </ul>
 </template>
 
diff --git a/enterprise/web-frontend/modules/baserow_enterprise/locales/en.json b/enterprise/web-frontend/modules/baserow_enterprise/locales/en.json
index 75df26121..af3c61deb 100644
--- a/enterprise/web-frontend/modules/baserow_enterprise/locales/en.json
+++ b/enterprise/web-frontend/modules/baserow_enterprise/locales/en.json
@@ -285,7 +285,8 @@
     "auditLogs": "Audit logs",
     "dataSync": "Data sync",
     "coBranding": "Co-branding logo replacement",
-    "support": "Direct support"
+    "support": "Direct support",
+    "chartWidget": "Chart widget"
   },
   "chatwootSupportSidebarWorkspace": {
     "directSupport": "Direct support"