admin: fix tokens

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/602/head
Varun Patil 2023-04-19 16:00:19 -07:00
parent 7861ac6549
commit 9da0e87a7b
1 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,9 @@ export default defineComponent({
return "warning"; return "warning";
} }
}, },
},
computed: {
requestToken() { requestToken() {
return (<any>axios.defaults.headers).requesttoken; return (<any>axios.defaults.headers).requesttoken;
}, },
@ -102,9 +104,8 @@ export default defineComponent({
actionToken() { actionToken() {
return this.status?.action_token || ""; return this.status?.action_token || "";
}, },
},
computed: { /** Reverse of memories.vod.disable, unfortunately */
enableTranscoding: { enableTranscoding: {
get() { get() {
return !this.config["memories.vod.disable"]; return !this.config["memories.vod.disable"];