From 8b59c72848d5dd97d076183ce7b449a8d205e906 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 29 Oct 2020 23:39:13 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/ExternalLibs/ExternalLibs.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/components/ExternalLibs/ExternalLibs.vue b/client/components/ExternalLibs/ExternalLibs.vue index 8bbe07ec..e625fad2 100644 --- a/client/components/ExternalLibs/ExternalLibs.vue +++ b/client/components/ExternalLibs/ExternalLibs.vue @@ -410,11 +410,12 @@ class ExternalLibs extends Vue { } updateBookmarkLink() { - this.bookmarkLink = this.defaultRootLink; - const index = this.getRootIndexByUrl(rstore.libsDefaults.groups, this.bookmarkLink); + const index = this.getRootIndexByUrl(rstore.libsDefaults.groups, this.defaultRootLink); if (index >= 0) { + this.bookmarkLink = rstore.libsDefaults.groups[index].s; this.bookmarkDesc = this.getCommentByLink(rstore.libsDefaults.groups[index].list, this.bookmarkLink); } else { + this.bookmarkLink = ''; this.bookmarkDesc = ''; } }