mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2025-02-17 03:48:25 +00:00
V0.1.15 and #157
This commit is contained in:
parent
7cb4af2814
commit
a6dc9ad695
4 changed files with 12 additions and 6 deletions
|
@ -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",
|
||||
|
|
|
@ -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": [
|
||||
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue