mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 19:54:39 +00:00
feat: custom shortcut icons #258
This commit is contained in:
@@ -10,7 +10,7 @@ export function RemoveShortcutDiv(elements: any) {
|
||||
const textElement = shortcut.querySelector("p"); // <p> is a direct child of .shortcut
|
||||
const title = textElement ? textElement.textContent : "";
|
||||
|
||||
const elementName = links[element.name as keyof typeof links].DisplayName || element.name;
|
||||
const elementName = links[element.name as keyof typeof links]?.DisplayName || element.name;
|
||||
|
||||
let shouldRemove = title === elementName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user