mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
bugfix for records sorting
This commit is contained in:
@@ -117,7 +117,11 @@ var recorder;
|
||||
function initRecordSet(){
|
||||
$.getJSON("/lastestLog",function(res){
|
||||
if(typeof res == "object"){
|
||||
recordSet = res;
|
||||
res.map(function(item){
|
||||
if(item.id){
|
||||
recordSet[item.id] = item;
|
||||
}
|
||||
});
|
||||
eventCenter.dispatchEvent("recordSetUpdated");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user