#16 import of list is now working

This commit is contained in:
CPSO 2020-06-06 21:22:38 +02:00
parent 459978eb88
commit 793242e8ef
2 changed files with 9 additions and 5 deletions

View file

@ -117,7 +117,7 @@
<script>
import levels from '../ExportTools/movieLevels'
import {levels, level1, level2} from '../ExportTools/movieLevels'
export default {
name: 'export',
@ -125,12 +125,15 @@ export default {
return {
radio: 'movie',
activeTab: 0,
levels: levels
levels: levels,
level1: level1,
level2: level2
}
},
created(){
console.log("ET Created")
this.fetchSelection()
console.log(level2)
}, computed: {
pmsSections: function(){
let sections = this.$store.getters.getPmsSections

View file

@ -3,16 +3,17 @@ const levels = [
{name:"Level 2", key:"level2"}
];
export default levels
/*
const level1 = ["Media ID", "Title", "Sort title",
"Studio", "Content Rating", "Year",
"Rating", "Summary"];
const level2 = ["Media ID", "Title", "Sort title"];
*/
export {levels, level1, level2}