Skip to content

Commit

Permalink
fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Scheuerle (Plagiatus) committed Feb 19, 2021
1 parent 7cf5f74 commit a99852c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions src/renderer/components/Compare.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div v-else id="compare">
<div>
Compare
<input type="file" @change="newJarFile" v-if="useFileSelector">
<input type="file" v-if="useFileSelector">
<select
v-else
:disabled="comparing"
Expand All @@ -16,7 +16,7 @@
<option v-for="o in options" :key="o" :value="o">{{ o }}</option>
</select>
to
<input type="file" @change="oldJarFile" v-if="useFileSelector">
<input type="file" v-if="useFileSelector">
<select
v-else
:disabled="comparing"
Expand Down Expand Up @@ -185,9 +185,6 @@ export default Vue.extend({
unlock() {
this.comparing = false;
console.log(this.comparing);
},
newJarFile(e) {
console.log(e.currentTarget.value);
}
},
data() {
Expand Down
7 changes: 3 additions & 4 deletions src/renderer/components/Comparison/FileBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ export default Vue.extend({
parent = folder;
}
let item = this.makeNode(parent, path[0]);
item = {
...item,
...this.files[file],
};
for (let key in this.files[file]) {
item[key] = this.files[file][key] || item[key] || 0;
}
this.addItem(parent, item);
}
console.log(this.rootData);
Expand Down

0 comments on commit a99852c

Please sign in to comment.