X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6..c458f2733c730cc174500ba308e3a670057d4d84:/src/utils/glyph_hash.js?ds=inline diff --git a/src/utils/glyph_hash.js b/src/utils/glyph_hash.js index 120c02a..cbbf988 100644 --- a/src/utils/glyph_hash.js +++ b/src/utils/glyph_hash.js @@ -33,6 +33,6 @@ const getGlyphHashFragment = function (uuidFragment) { // Return an array of glyphs based on a UUIDv4 export const getGlyphHash = function (uuid) { - const hashFragments = uuid.match(internals.kSplitterRegex); + const hashFragments = uuid.replace(/[-]/g,'').match(internals.kSplitterRegex); return hashFragments.map(getGlyphHashFragment); };