Update:Add switch server/user button in side drawer and change button text on account page. Update logout to disconnect #628

This commit is contained in:
advplyr
2023-09-17 10:23:35 -05:00
parent ce7779607f
commit 59480ad114
4 changed files with 46 additions and 7 deletions
+3
View File
@@ -26,6 +26,9 @@ export default {
},
methods: {
async init() {
if (!this.currentLibraryId) {
return
}
this.loadedLibraryId = this.currentLibraryId
this.authors = await this.$axios
.$get(`/api/libraries/${this.currentLibraryId}/authors`)