mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-04 23:25:35 +00:00
prevent undefined
This commit is contained in:
@@ -69,7 +69,7 @@ export function findSimilarItems(item: ParsedItem) {
|
||||
|
||||
export function findSamePricedItems(item: ParsedItem) {
|
||||
if (!item.note) return;
|
||||
const note = JSON.stringify(item.note);
|
||||
const note = item.note ? JSON.stringify(item.note) : "";
|
||||
const name = JSON.stringify(item.info.name);
|
||||
const useName =
|
||||
AppConfig<ItemCheckWidget>("item-check")!.samePricedType === "both";
|
||||
|
||||
Reference in New Issue
Block a user