mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-03-21 17:24:14 -05:00
give datamined its own set
This commit is contained in:
parent
baa0262df3
commit
77e9b82d65
|
|
@ -15,7 +15,7 @@ export function LocationIcon(props) {
|
|||
|
||||
export function RarityIcon(props) {
|
||||
const { set, rarity, size } = props;
|
||||
return (<>{set !== 'PE1' &&
|
||||
return (<>{!["PE1", "DATA", "PROTO"].includes(set) &&
|
||||
<img className={size || "icon16"} style={{ verticalAlign: 'middle' }} src={("/public/img/icons/set/" + set + "/" + rarity + ".png").toLowerCase()} />
|
||||
}</>);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import 'whatwg-fetch';
|
||||
import { observable } from "mobx";
|
||||
|
||||
import CollectionDB from './CollectionDB';
|
||||
import spreadsheet_data from './meta_spreadsheet.json';
|
||||
import { Card } from '../common/definitions';
|
||||
|
|
@ -35,6 +36,7 @@ export const sets = {
|
|||
"BR": "Beyond Rare",
|
||||
"LR": "League Rewards",
|
||||
"PROMO": "Promotional",
|
||||
"DATA": "Datamined",
|
||||
"PROTO": "Prototype"
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user