diff --git a/html/src/app.js b/html/src/app.js index 64413623..3128d3ba 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -403,7 +403,7 @@ speechSynthesis.getVoices(); if (response.status === 200) { this.$throw(0, 'Invalid JSON response'); } - this.$throw(response.status); + this.$throw(response.status, endpoint); return {}; }).then(({ data, status }) => { if (status === 200) { @@ -846,7 +846,7 @@ speechSynthesis.getVoices(); }); Vue.component('avatar-info', { - template: '
{{ avatarName }}{{ avatarType }}
', + template: '
{{ avatarName }}{{ avatarType }}
', props: { imageurl: String, userid: String, @@ -5139,6 +5139,9 @@ speechSynthesis.getVoices(); }; API.$on('AUTOLOGIN', function () { + if ($app.enablePrimaryPassword) { + return; + } var user = $app.loginForm.savedCredentials[$app.loginForm.lastUserLoggedIn]; if (typeof user !== 'undefined') { $app.relogin({ @@ -12426,7 +12429,7 @@ speechSynthesis.getVoices(); $app.methods.queueCacheDownload = function (ref, type) { if (!this.downloadQueue.has(ref.id)) { var date = new Date().toJSON(); - var userId = API.currentUser.id; + var userId = ''; var location = ref.id; this.downloadQueue.set(ref.id, {ref, type, date, userId, location}); this.downloadQueueTable.data = Array.from(this.downloadQueue.values()); diff --git a/html/src/app.scss b/html/src/app.scss index e1284be9..32ee30c5 100644 --- a/html/src/app.scss +++ b/html/src/app.scss @@ -577,6 +577,13 @@ i.x-user-status.busy { border-color: #e6a23c !important; } +.avatar-info { + cursor: pointer; + width: fit-content; + display: inline-block; + vertical-align: top; +} + .avatar-info-own { display: inline-block; color: #e6a23c; diff --git a/html/src/index.pug b/html/src/index.pug index 9f3d169c..55bec5cc 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -37,7 +37,7 @@ html el-form-item(label="Password" prop="password" required) el-input(type="password" v-model="loginForm.password" name="password" placeholder="Password" clearable show-password) el-checkbox(v-model="loginForm.saveCredentials") Save Credentials - el-form-item(style="margin-top:35px") + el-form-item(style="margin-top:15px") el-button(native-type="submit" type="primary" :loading="loginForm.loading" style="width:100%") Login el-form-item el-button(:loading="loginForm.loading" style="width:100%" @click="loginWithSteam()") Login with Steam @@ -1647,7 +1647,7 @@ html span(v-text="item.name" style="word-break:keep-all") |: el-input(v-model="VRChatConfigFile[value]" :placeholder="item.default" size="mini" :type="item.type?item.type:'text'" :min="item.min" :max="item.max") - div(style="margin-top:10px") + div(style="display:inline-block;margin-top:10px") span Camera Resolution br el-dropdown(@command="(command) => setVRChatCameraResolution(command)" size="small" trigger="click" style="margin-top:5px") @@ -1655,7 +1655,7 @@ html span #[span(v-text="getVRChatCameraResolution()")] #[i.el-icon-arrow-down.el-icon--right] el-dropdown-menu(#default="dropdown") el-dropdown-item(v-for="row in VRChatResolutions" :key="row.index" v-text="row.name" :command="row") - div(style="margin-top:10px") + div(style="display:inline-block;margin-top:10px;margin-left:10px") span Screenshot Resolution br el-dropdown(@command="(command) => setVRChatScreenshotResolution(command)" size="small" trigger="click" style="margin-top:5px")