Move :gay_pride_flag: to flags category
This commit is contained in:
parent
617c4fd948
commit
ce1a1aa1f6
4 changed files with 7 additions and 4 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue