mirror of
https://github.com/1f349/admin.1f349.com.git
synced 2024-11-09 22:32:57 +00:00
Use empty key for target endpoints
This commit is contained in:
parent
9b72a57ff0
commit
e278762629
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user