diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
| commit | 0885b9db9e264a666cd0fa656442569a953fb7f7 (patch) | |
| tree | e2107bee4387c168681ad02732c48072255fc808 /src/views/Legend.js | |
| parent | 3289ce3181c69ea4d696cc2d29a5e1579f6593cb (diff) | |
update tags. implement clocks
Diffstat (limited to 'src/views/Legend.js')
| -rw-r--r-- | src/views/Legend.js | 17 |
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 ( |
