fix: lint
Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
parent
577aa85919
commit
2c72b21977
|
@ -153,6 +153,7 @@ async function addRole() {
|
||||||
async function removeRole(role, ev) {
|
async function removeRole(role, ev) {
|
||||||
rolesThatCanBeUsedThisEmojiAsReaction = rolesThatCanBeUsedThisEmojiAsReaction.filter(x => x.id !== role.id);
|
rolesThatCanBeUsedThisEmojiAsReaction = rolesThatCanBeUsedThisEmojiAsReaction.filter(x => x.id !== role.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function done() {
|
async function done() {
|
||||||
const params = {
|
const params = {
|
||||||
name,
|
name,
|
||||||
|
|
|
@ -74,6 +74,7 @@ let q = $ref('');
|
||||||
let searchEmojis = $ref<Misskey.entities.CustomEmoji[]>(null);
|
let searchEmojis = $ref<Misskey.entities.CustomEmoji[]>(null);
|
||||||
let selectedTags = $ref(new Set());
|
let selectedTags = $ref(new Set());
|
||||||
const requestEmojis = await os.apiGet('emoji-requests');
|
const requestEmojis = await os.apiGet('emoji-requests');
|
||||||
|
|
||||||
function search() {
|
function search() {
|
||||||
if ((q === '' || q == null) && selectedTags.size === 0) {
|
if ((q === '' || q == null) && selectedTags.size === 0) {
|
||||||
searchEmojis = null;
|
searchEmojis = null;
|
||||||
|
|
Loading…
Reference in New Issue