Commit ce1a1aa1 authored by Eric Eastwood's avatar Eric Eastwood

Move 🏳🌈 to flags category

parent 617c4fd9
......@@ -22,7 +22,6 @@ const categoryLabelMap = {
objects: 'Objects',
symbols: 'Symbols',
flags: 'Flags',
extras: 'Extras',
};
const IS_VISIBLE = 'is-visible';
......
......@@ -33,7 +33,6 @@ export function getEmojiCategoryMap() {
objects: [],
symbols: [],
flags: [],
extras: [],
};
Object.keys(emojiMap).forEach((name) => {
const emoji = emojiMap[name];
......
......@@ -5376,7 +5376,7 @@
"digest": "180e66f19d9285e02d0a5e859722c608206826e80323942b9938fc49d44973b1"
},
"gay_pride_flag": {
"category": "extras",
"category": "flags",
"moji": "🏳🌈",
"description": "gay_pride_flag",
"unicodeVersion": "6.0",
......
......@@ -39,8 +39,13 @@ namespace :gemojione do
fpath = File.join(dir, "#{emoji_hash['unicode']}.png")
hash_digest = Digest::SHA256.file(fpath).hexdigest
category = emoji_hash['category']
if name == 'gay_pride_flag'
category = 'flags'
end
entry = {
category: emoji_hash['category'],
category: category,
moji: emoji_hash['moji'],
description: emoji_hash['description'],
unicodeVersion: Gitlab::Emoji.emoji_unicode_version(name),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment