This commit is contained in:
2020-10-08 18:37:03 +00:00
parent 89f37fa1cd
commit c3b5a360f7
3 changed files with 18 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ export default {
//iterate the keys that are cached and set them from whatever is in editedTranslation for that key //iterate the keys that are cached and set them from whatever is in editedTranslation for that key
//de-lodash //de-lodash
// window.$gz._.forOwn(window.$gz.store.state.translationText, function( // window.$gz. _.forOwn(window.$gz.store.state.translationText, function(
// cacheval, // cacheval,
// cachekey // cachekey
// ) { // ) {
@@ -49,7 +49,7 @@ export default {
let needIt = []; let needIt = [];
//de-lodash //de-lodash
// window.$gz._.forOwn(window.$gz.store.state.translationText, function( // window.$gz. _.forOwn(window.$gz.store.state.translationText, function(
// cacheval, // cacheval,
// cachekey // cachekey
// ) { // ) {

View File

@@ -492,7 +492,13 @@ export default {
//emit event to parent form of selected rows //emit event to parent form of selected rows
//Note vm this bubbles up all the columns of all the selected rows //Note vm this bubbles up all the columns of all the selected rows
//so, to be more efficient for now will just send the ID's until I see a need for other shit //so, to be more efficient for now will just send the ID's until I see a need for other shit
this.$emit("selection-change", window.$gz._.map(this.selected, "id")); //de-lodash
//this.$emit("selection-change", window.$gz. _.map(this.selected, "id"));
this.$emit(
"selection-change",
this.selected.map(z => z.id)
);
}, },
editListView() { editListView() {
this.$router.push({ this.$router.push({

View File

@@ -238,11 +238,17 @@ function clickHandler(menuItem) {
let text = element.innerText || element.textContent; let text = element.innerText || element.textContent;
let logText = ""; let logText = "";
window.$gz._.forEach(m.vm.$store.state.logArray, function appendLogItem( //de-lodash
value // window.$gz._.forEach(m.vm.$store.state.logArray, function appendLogItem(
) { // value
// ) {
// logText += value + "\n";
// });
m.vm.$store.state.logArray.forEach(function appendLogItem(value) {
logText += value + "\n"; logText += value + "\n";
}); });
window.$gz.util.copyToClipboard(text + "\nCLIENT LOG\n" + logText); window.$gz.util.copyToClipboard(text + "\nCLIENT LOG\n" + logText);
break; break;
default: default: