Skip to content

Commit dbd6f52

Browse files
be-smithml-evs
authored andcommitted
Removed unnecessary ComparisonFileModel - only accepts from multi_file_selector so not needed
1 parent 637b26f commit dbd6f52

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

webapp/src/components/datablocks/CycleBlock.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
/>
3333
</div>
3434
<CollapsibleComparisonFileSelect
35-
v-model="comparisonFileModel"
35+
v-model="pending_comparison_file_ids"
3636
:item_id="item_id"
3737
:block_id="block_id"
3838
:extensions="blockInfo.attributes.accepted_file_extensions"
3939
:exclude-file-ids="file_ids"
40-
:initially-expanded="comparisonFileModel.length > 0"
40+
:initially-expanded="pending_comparison_file_ids.length > 0"
4141
:show-apply-button="false"
4242
/>
4343
<div class="form-row mt-2">
@@ -276,15 +276,6 @@ export default {
276276
}
277277
},
278278
},
279-
comparisonFileModel: {
280-
get() {
281-
return this.pending_comparison_file_ids;
282-
},
283-
set(val) {
284-
this.pending_comparison_file_ids = Array.isArray(val) ? val : [val];
285-
},
286-
},
287-
288279
// normalizingMass() {
289280
// return this.$store.all_item_data[this.item_id]["characteristic_mass"] || null;
290281
// },

0 commit comments

Comments
 (0)