Removed stray console logging

closes Creatures summoned to tabletops from libraries are missing their properties #373
This commit is contained in:
ThaumRystra
2024-11-09 15:49:36 +02:00
parent 3949ea3448
commit a40cae1327
15 changed files with 6 additions and 30 deletions

View File

@@ -85,7 +85,6 @@ export default {
}, false);
uploadInstance.on('start', function () {
console.log('start')
self.progress = 0;
self.uploadIndeterminate = false;
// Remove errors
@@ -93,24 +92,20 @@ export default {
});
uploadInstance.on('end', function (error, fileObj) {
console.log('end', error)
self.resetState();
self.$emit('uploaded', UserImages.link(fileObj));
});
uploadInstance.on('uploaded', function (error, fileObj) {
console.log('uploaded')
self.progress = 0;
});
uploadInstance.on('error', function (error, fileObj) {
console.log('error', error)
self.fileUploadError = error.reason || error.message || error.toString();
});
uploadInstance.on('progress', function (progress, fileObj) {
// Update our progress bar with actual progress
console.log('progress')
self.uploadIndeterminate = false;
self.progress = progress;
});
@@ -146,4 +141,4 @@ export default {
<style>
</style>
</style>

View File

@@ -5,7 +5,6 @@ const globalState = Vue.observable({ queue: [] });
let lastSnackbarId = 0;
function snackbar(data) {
console.log(data);
globalState.queue.push({
data, //{text OR content, callback, callbackName} // content is logContent
id: ++lastSnackbarId,

View File

@@ -240,8 +240,6 @@ export default {
},
async castSpell(suggestedParams) {
this.userInput = suggestedParams;
console.log(this.action);
console.log(this.action.root);
this.activeInputParams = {
creatureId: this.action.creatureId,
};

View File

@@ -570,9 +570,6 @@ export default {
propArray = [];
set(properties, propPath, propArray);
}
if (!propArray?.push) {
console.log({propArray});
}
propArray.push(prop);
}
return { skipChildren };

View File

@@ -117,7 +117,6 @@ export default {
},
},
methods: {
log: console.log,
insertLibrary(){
if (this.paidBenefits){
this.$store.commit('pushDialogStack', {

View File

@@ -51,7 +51,6 @@ export default {
let f = functions[name];
fns.push({name, ...f});
}
console.log(fns);
return fns;
}
}

View File

@@ -144,7 +144,6 @@ export default {
subscribe,
}, ack);
} else {
console.log('sub fail')
ack('Library or Library Collection not found')
}
},

View File

@@ -171,7 +171,6 @@ export default {
},
methods: {
saveChange({ path, value, ack }) {
console.log({ path, value, ack });
this.$emit('change', {path: [ 'save', ...path ], value, ack})
this.$emit('change', {path: [ 'silent' ], value: true, ack})
},

View File

@@ -111,7 +111,7 @@ export default {
},
methods: {
error(e) {
console.log({ e })
console.error(e)
}
}
};

View File

@@ -217,9 +217,6 @@ export default {
}
},
methods: {
log(e) {
console.log(e);
},
hoverIcon(e, icon) {
if (this.selectedIcon) return;
// this.menuX = e.clientX - (e.clientX % 44);