This commit is contained in:
2022-03-23 20:16:30 +00:00
parent 2180df8f21
commit 6f47101fe2

View File

@@ -29,10 +29,6 @@
>{{ $ay.t("Upload") }}</v-btn
>
</v-col>
type:
{{ ayaType }}
uploadFile:
{{ uploadFile }}
<v-col cols="12">
<v-textarea
@@ -56,7 +52,7 @@ export default {
importableAyaTypes: []
},
uploadFile: [],
ayaType: 0,
ayaType: 8, //<<<<<<<<<<<<<-----------------------------CHANGE THIS TO ZERO WHEN DONE TESTING
importResult: "",
rights: window.$gz.role.defaultRightsObject(),
uploading: false
@@ -79,6 +75,8 @@ export default {
if (this.uploadFile && this.uploadFile.name) {
console.log("Processing uploadfile");
papa.parse(this.uploadFile, {
header: true,
dynamicTyping: true,
worker: true,
step: function(row) {
console.log("Row:", row.data);