V0.1.15 and #157

This commit is contained in:
UKDTOM 2020-09-27 11:43:16 +02:00
parent 7cb4af2814
commit a6dc9ad695
4 changed files with 12 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "webtools-ng",
"version": "0.1.4",
"version": "0.1.5",
"description": "WebTools Next Generation 4 Plex",
"author": "dane22 & CPSO",
"license": "MPL-2.0",

View file

@ -2,7 +2,8 @@
"episode": {
"level": {
"devtommy": [
"Media ID"
"Media ID",
"Writers"
],
"Clear Fields": [
@ -137,8 +138,8 @@
"Added",
"Updated",
"Poster url",
"Deleted"
"Deleted",
"Content Rating"
],
"level3": [

View file

@ -585,10 +585,12 @@ const excel2 = new class Excel {
subType = JSONPath({path: '$..subtype', json: fields[x]});
subKey = JSONPath({path: '$..subkey', json: fields[x]});
switch(String(subType)) {
case "string":
case "string":
valArrayVal = JSONPath({path: String(subKey), json: array[i]})[0];
// Make N/A if not found
console.log('Ged valArrayVal: ' + valArrayVal)
if (valArrayVal == null || valArrayVal == "")
//if ( typeof valArrayVal !== 'undefined' && valArrayVal && valArrayVal != '')
{
valArrayVal = wtconfig.get('ET.NotAvail', 'N/A')
}

View file

@ -1,5 +1,5 @@
<template>
<b-container class="vw-100 vh-100">
<b-container class="vw-100 vh-100" v-on:keyup.enter="onEnter">
<b-row class="row justify-content-center align-items-center">
<b-col id="login-column" col md="6">
@ -128,6 +128,9 @@ export default {
}
},
methods: {
onEnter: function() {
this.plexLogin();
},
plexLogin(){
store.dispatch('loginToPlex', {
username: this.input.username,