diff --git a/ui/home.vue b/ui/home.vue index 74af26b7..deee8869 100644 --- a/ui/home.vue +++ b/ui/home.vue @@ -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); diff --git a/ui/widgets/connect_known.css b/ui/widgets/connect_known.css index 346996b0..3c4aa1f5 100644 --- a/ui/widgets/connect_known.css +++ b/ui/widgets/connect_known.css @@ -26,6 +26,28 @@ background: #3a3a3a; display: flex; flex-direction: column; + position: relative; +} + +#connect-known-list.reloaded { +} + +#connect-known-list.reloaded::after { + opacity: 0; + z-index: 2; + content: " "; + display: block; + position: absolute; + width: 100%; + height: 0; + top: -2px; + left: 0; + right: 0; + background: #fff; + animation-name: home-window-display-flash; + animation-duration: 0.5s; + animation-iteration-count: 1; + box-shadow: 0 0 10px #fff; } #connect-known-list-list, diff --git a/ui/widgets/connect_known.vue b/ui/widgets/connect_known.vue index 8c88ddd1..3e87d145 100644 --- a/ui/widgets/connect_known.vue +++ b/ui/widgets/connect_known.vue @@ -18,7 +18,7 @@ -->