mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.198.3
This commit is contained in:
@@ -6,7 +6,7 @@ class PageFilterDecks extends PageFilter {
|
||||
|
||||
this._miscFilter = new Filter({
|
||||
header: "Miscellaneous",
|
||||
items: ["Has Card Art", "SRD"],
|
||||
items: ["Has Card Art", "SRD", "Legacy"],
|
||||
isMiscFilter: true,
|
||||
selFn: it => it === "Has Card Art",
|
||||
});
|
||||
@@ -15,6 +15,7 @@ class PageFilterDecks extends PageFilter {
|
||||
static mutateForFilters (ent) {
|
||||
ent._fMisc = [];
|
||||
if (ent.srd) ent._fMisc.push("SRD");
|
||||
if (SourceUtil.isLegacySourceWotc(ent.source)) ent._fMisc.push("Legacy");
|
||||
if (ent.hasCardArt) ent._fMisc.push("Has Card Art");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user