mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-15 00:56:15 -08:00
feat(ui): Display network names and optimize list loading (#1503)
This commit is contained in:
1 parent
eba9504fc2
commit
bbe8f9f810
9 files changed
+204
-24
No files matched your search
@@ -243,6 +243,12 @@ class WebRemoteClient implements Api.RemoteClient {
|
||||
return { error: 'Unknown error: ' + error };
|
||||
}
|
||||
}
|
||||
async get_network_metas(instance_ids: string[]): Promise<Api.GetNetworkMetasResponse> {
|
||||
const response = await this.client.post<any, Api.GetNetworkMetasResponse>(`/machines/${this.machine_id}/networks/metas`, {
|
||||
instance_ids: instance_ids
|
||||
});
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
export default ApiClient;
|
||||
Reference in new issue
Block a user