Небольшие доработки
This commit is contained in:
@@ -410,11 +410,12 @@ class ExternalLibs extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateBookmarkLink() {
|
updateBookmarkLink() {
|
||||||
this.bookmarkLink = this.defaultRootLink;
|
const index = this.getRootIndexByUrl(rstore.libsDefaults.groups, this.defaultRootLink);
|
||||||
const index = this.getRootIndexByUrl(rstore.libsDefaults.groups, this.bookmarkLink);
|
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
|
this.bookmarkLink = rstore.libsDefaults.groups[index].s;
|
||||||
this.bookmarkDesc = this.getCommentByLink(rstore.libsDefaults.groups[index].list, this.bookmarkLink);
|
this.bookmarkDesc = this.getCommentByLink(rstore.libsDefaults.groups[index].list, this.bookmarkLink);
|
||||||
} else {
|
} else {
|
||||||
|
this.bookmarkLink = '';
|
||||||
this.bookmarkDesc = '';
|
this.bookmarkDesc = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user