mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Update AddShortcuts.ts - use DisplayName
made use DisplayName for name with fallback if value is null, empty or invalid
This commit is contained in:
@@ -15,7 +15,7 @@ export function addShortcuts(shortcuts: any) {
|
|||||||
linkDetails.link,
|
linkDetails.link,
|
||||||
linkDetails.icon,
|
linkDetails.icon,
|
||||||
linkDetails.viewBox,
|
linkDetails.viewBox,
|
||||||
currentShortcut?.name,
|
linkDetails.DisplayName || currentShortcut?.name,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
console.warn(`No link details found for '${Itemname}'`);
|
console.warn(`No link details found for '${Itemname}'`);
|
||||||
|
|||||||
Reference in New Issue
Block a user