Add refreash animation for "Known remotes" import screen

This commit is contained in:
NI
2019-12-31 09:30:35 +08:00
parent 8af9f1a1f1
commit ed2f8157ad
3 changed files with 42 additions and 2 deletions

View File

@@ -444,7 +444,9 @@ export default {
return this.connector.historyRec.export();
},
importKnowns(d) {
return this.connector.historyRec.import(d);
this.connector.historyRec.import(d);
this.connector.knowns = this.connector.historyRec.all();
},
removeKnown(uid) {
this.connector.historyRec.del(uid);