diff --git a/package.json b/package.json
index 9d00bb7..705bae3 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "toggle-experiment",
"displayName": "Toggle Experiment",
"description": "A browser extension to inject the LocalStorage of a website for Optimizely experiments.",
- "version": "0.9.0",
+ "version": "0.10.0",
"author": "Aaron van den Berg",
"homepage": "https://aaronvandenberg.nl/",
"scripts": {
diff --git a/src/components/SearchItem.tsx b/src/components/SearchItem.tsx
index ed831d7..c6962cf 100644
--- a/src/components/SearchItem.tsx
+++ b/src/components/SearchItem.tsx
@@ -65,6 +65,8 @@ const SearchItem = ({ experiment }: SearchItemProps) => {
fetchExperiment();
}, [opened]);
+ console.log(experimentData);
+
const addHistoryItem = async (newItem: HistoryItems) => {
const maxHistoryItems = 3;
const historyItemsLocalStorage = await storage.get("history");
@@ -137,15 +139,18 @@ const SearchItem = ({ experiment }: SearchItemProps) => {
{loading ? () : (
-
+
Status:
{status.name}
+
+ {experimentData?.traffic_allocation / 100}% traffic
+
-
+