add image downloading system and fix shortcuts bug

This commit is contained in:
SethBurkart123
2023-10-23 14:39:22 +11:00
parent 48d4ae231e
commit c36cd02f47
2 changed files with 119 additions and 15 deletions
+1 -1
View File
@@ -2419,7 +2419,7 @@ export function addShortcuts(shortcuts) {
const currentShortcut = shortcuts[i];
if (currentShortcut?.enabled) {
const Itemname = currentShortcut?.name.replace(/\s/g, "");
const Itemname = (currentShortcut?.name ?? "").replace(/\s/g, "");
const linkDetails = ShortcutLinks?.[Itemname];
if (linkDetails) {