Use empty key for target endpoints

This commit is contained in:
Melon 2024-06-23 15:51:26 +01:00
parent 9b72a57ff0
commit e278762629
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -16,7 +16,7 @@
export let apiUrl: string; export let apiUrl: string;
let table = new TargetTable<T>(apiUrl, (item: T) => item.src); let table = new TargetTable<T>(apiUrl, (item: T) => "");
function rowOrdering(rows: RestItem<T>[], domain: string): RestItem<T>[] { function rowOrdering(rows: RestItem<T>[], domain: string): RestItem<T>[] {
return rows.filter(x => domainFilter(x.data, domain)).sort((a, b) => a.data.src.localeCompare(b.data.src)); return rows.filter(x => domainFilter(x.data, domain)).sort((a, b) => a.data.src.localeCompare(b.data.src));