From 5540845a7ca24496ce52f899b62fd30dc108c382 Mon Sep 17 00:00:00 2001 From: drsirmrpresidentfathercharles Date: Thu, 29 Dec 2016 17:26:04 -0700 Subject: [PATCH] Fix array lookup to .includes rather than .has (#867) --- src/model/immutable/CharacterMetadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/immutable/CharacterMetadata.js b/src/model/immutable/CharacterMetadata.js index e6a358406c..c6379ab482 100644 --- a/src/model/immutable/CharacterMetadata.js +++ b/src/model/immutable/CharacterMetadata.js @@ -49,7 +49,7 @@ class CharacterMetadata extends CharacterMetadataRecord { } hasStyle(style: string): boolean { - return this.getStyle().has(style); + return this.getStyle().includes(style); } static applyStyle(