mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
Comment out console.info's
This commit is contained in:
parent
205830c383
commit
a16e122c44
2 changed files with 7 additions and 28 deletions
|
@ -791,7 +791,7 @@ export default {
|
||||||
created: function () {
|
created: function () {
|
||||||
vue_this = this;
|
vue_this = this;
|
||||||
this.$vuetify.theme.dark = this.darkTheme;
|
this.$vuetify.theme.dark = this.darkTheme;
|
||||||
|
|
||||||
this.sendAppMessage("ready", "");
|
this.sendAppMessage("ready", "");
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -897,10 +897,8 @@ export default {
|
||||||
|
|
||||||
if (this.$store.state.editFolderDialog.data.folder !== null && this.$store.state.editFolderDialog.data.folder !== "No Change") {
|
if (this.$store.state.editFolderDialog.data.folder !== null && this.$store.state.editFolderDialog.data.folder !== "No Change") {
|
||||||
if (findFolder.returnedItem.folder !== this.$store.state.editFolderDialog.data.folder && this.$store.state.editFolderDialog.data.folder !== "No Folder") {
|
if (findFolder.returnedItem.folder !== this.$store.state.editFolderDialog.data.folder && this.$store.state.editFolderDialog.data.folder !== "No Folder") {
|
||||||
console.info("This folder?", this.$store.state.editFolderDialog.data.folder);
|
|
||||||
this.moveFolder(uuid, this.$store.state.editFolderDialog.data.folder);
|
this.moveFolder(uuid, this.$store.state.editFolderDialog.data.folder);
|
||||||
} else if (this.$store.state.editFolderDialog.data.folder === "No Folder") {
|
} else if (this.$store.state.editFolderDialog.data.folder === "No Folder") {
|
||||||
console.info("This folder TOP?", this.$store.state.editFolderDialog.data.folder);
|
|
||||||
this.moveFolder(uuid, "top");
|
this.moveFolder(uuid, "top");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -977,32 +975,14 @@ export default {
|
||||||
acceptReceivingItem: function(data) {
|
acceptReceivingItem: function(data) {
|
||||||
this.removeReceivingItem(data.data.uuid);
|
this.removeReceivingItem(data.data.uuid);
|
||||||
|
|
||||||
this.$store.commit('mutate', {
|
this.receiveDialogStore.data.user = data.sender;
|
||||||
property: 'receiveDialog.data.user',
|
this.receiveDialogStore.data.type = data.data.type;
|
||||||
with: data.sender
|
this.receiveDialogStore.data.name = data.data.name;
|
||||||
});
|
this.receiveDialogStore.data.url = data.data.url;
|
||||||
|
|
||||||
this.$store.commit('mutate', {
|
|
||||||
property: 'receiveDialog.data.type',
|
|
||||||
with: data.data.type
|
|
||||||
});
|
|
||||||
|
|
||||||
this.$store.commit('mutate', {
|
|
||||||
property: 'receiveDialog.data.name',
|
|
||||||
with: data.data.name
|
|
||||||
});
|
|
||||||
|
|
||||||
this.$store.commit('mutate', {
|
|
||||||
property: 'receiveDialog.data.url',
|
|
||||||
with: data.data.url
|
|
||||||
});
|
|
||||||
|
|
||||||
this.getFolderList("add");
|
this.getFolderList("add");
|
||||||
|
|
||||||
this.$store.commit('mutate', {
|
this.receiveDialogStore.show = true;
|
||||||
property: 'receiveDialog.show',
|
|
||||||
with: true
|
|
||||||
});
|
|
||||||
|
|
||||||
},
|
},
|
||||||
removeReceivingItem: function(uuid) {
|
removeReceivingItem: function(uuid) {
|
||||||
|
@ -1179,7 +1159,6 @@ export default {
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
recursiveFolderPopulate: function(indexToSearch, firstIteration, avoidFolder) {
|
recursiveFolderPopulate: function(indexToSearch, firstIteration, avoidFolder) {
|
||||||
console.info(JSON.stringify(this.folderList));
|
|
||||||
for (var i = 0; i < indexToSearch.length; i++) {
|
for (var i = 0; i < indexToSearch.length; i++) {
|
||||||
if (Object.prototype.hasOwnProperty.call(indexToSearch[i], "items") && indexToSearch[i].items.length > 0) {
|
if (Object.prototype.hasOwnProperty.call(indexToSearch[i], "items") && indexToSearch[i].items.length > 0) {
|
||||||
// We want to avoid adding the folder itself and also any child folders it may have, putting a folder within its child folder will nuke it.
|
// We want to avoid adding the folder itself and also any child folders it may have, putting a folder within its child folder will nuke it.
|
||||||
|
|
|
@ -294,7 +294,7 @@ export const store = new Vuex.Store({
|
||||||
mutations: {
|
mutations: {
|
||||||
mutate (state, payload) {
|
mutate (state, payload) {
|
||||||
state[payload.property] = payload.with;
|
state[payload.property] = payload.with;
|
||||||
console.info("Payload:", payload.property, "with:", payload.with, "state is now:", this.state);
|
// console.info("Payload:", payload.property, "with:", payload.with, "state is now:", this.state);
|
||||||
},
|
},
|
||||||
sortTopInventory (state, payload) {
|
sortTopInventory (state, payload) {
|
||||||
let { items } = state;
|
let { items } = state;
|
||||||
|
|
Loading…
Reference in a new issue