summaryrefslogtreecommitdiff
path: root/src/views/Legend.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Legend.js')
-rw-r--r--src/views/Legend.js17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/views/Legend.js b/src/views/Legend.js
index fe7db4d..411ca81 100644
--- a/src/views/Legend.js
+++ b/src/views/Legend.js
@@ -4,9 +4,20 @@
import React, { useState, useEffect } from "react";
-const categories = "No6092,1620s,painting,blunt,National Gallery of Canada,AGO,courtauld,intervensions,connsoeurship,double agent,forensics,black box,Stankievech".split(
- ","
-);
+var categories = [
+ // tag ID = array offset + 1
+ "1620s",
+ "painting",
+ "blunt",
+ "National Gallery of Canada",
+ "Art Gallery of Ontario",
+ "Courtauld Institute",
+ "Stankievech",
+ "connsoeurship",
+ "double agent",
+ "forensics",
+ "black box",
+];
export default function Legend({ visible, selected, onSelect }) {
return (