Apply suggestions from code review

Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
kasenvr 2020-07-20 13:48:48 -04:00 committed by GitHub
parent 6c5dbb5baf
commit 022be754f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View file

@ -769,8 +769,8 @@ export default {
"uuid": "REALLYLONNGGGGGGGG", "uuid": "REALLYLONNGGGGGGGG",
} }
} }
], ]
}, }
}, },
folderList: [], folderList: [],
recursiveFolderHoldingList: [], recursiveFolderHoldingList: [],
@ -789,7 +789,7 @@ export default {
name: "This?", name: "This?",
uuid: "{4131531676575653652562}", uuid: "{4131531676575653652562}",
distance: 1, distance: 1,
}, }
], ],
sortBy: "alphabetical", sortBy: "alphabetical",
settings: { settings: {
@ -799,13 +799,13 @@ export default {
"List", "List",
"Compact", "Compact",
"Large", "Large",
], ]
}, }
}, },
appVersion: "2.0.2", appVersion: "2.0.2",
darkTheme: true, darkTheme: true,
drawer: false, drawer: false,
disabledProp: true, disabledProp: true
}), }),
created: function () { created: function () {
vue_this = this; vue_this = this;

View file

@ -196,7 +196,7 @@
<script> <script>
import { EventBus } from '../plugins/event-bus.js'; import { EventBus } from '../plugins/event-bus.js';
import draggable from 'vuedraggable' import draggable from 'vuedraggable';
export default { export default {
name: 'itemiterator', name: 'itemiterator',
@ -230,7 +230,7 @@ export default {
property: 'addDialog', property: 'addDialog',
with: value with: value
}); });
}, }
}, },
editDialogStore: { editDialogStore: {
get() { get() {
@ -388,4 +388,4 @@ export default {
}, },
} }
}; };
</script> </script>

View file

@ -23,7 +23,7 @@ export const store = new Vuex.Store({
"name": "VRGrabScale", "name": "VRGrabScale",
"url": "https://gooawefaweawfgle.com/vr.js", "url": "https://gooawefaweawfgle.com/vr.js",
"folder": "No Folder", "folder": "No Folder",
"uuid": "54254354353", "uuid": "54254354353"
}, },
{ {
"name": "Test Folder", "name": "Test Folder",
@ -284,7 +284,7 @@ export const store = new Vuex.Store({
// console.info("Containing these items...", payload.findFolder.returnedItem.items); // console.info("Containing these items...", payload.findFolder.returnedItem.items);
items.push(payload.findFolder.returnedItem); items.push(payload.findFolder.returnedItem);
Vue.set(state,'items', items); Vue.set(state, 'items', items);
} else if (payload.findParentFolder) { } else if (payload.findParentFolder) {
// console.info("Going to push...", payload.findFolder.returnedItem); // console.info("Going to push...", payload.findFolder.returnedItem);
@ -318,4 +318,4 @@ export const store = new Vuex.Store({
} }
} }
} }
}) })