mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 00:02:25 -05:00
[chore] Fix frogend admin emoji patch (#1148)
* fix className * fix unable to set category on new emoji * wrap emoji groups
This commit is contained in:
parent
665d902fd7
commit
5c5c8ceaf0
3 changed files with 4 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ function EmojiDetail({emoji}) {
|
|||
}
|
||||
|
||||
React.useEffect(() => {
|
||||
if (category != emoji.category && !categoryState.open && !isNewCategory && emoji.category != undefined) {
|
||||
if (category != emoji.category && !categoryState.open && !isNewCategory && category.trim().length > 0) {
|
||||
console.log("updating to", category);
|
||||
modifyEmoji({id: emoji.id, category: category.trim()});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue