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