This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
:key="item.partId.toString() + item.quantity.toString()"
|
||||
>
|
||||
<td>
|
||||
{{ item.partDisplay }}
|
||||
{{ item.partViz }}
|
||||
<template v-if="$vuetify.breakpoint.xs">
|
||||
<div class="my-3">
|
||||
<v-icon class="ml-2" @click="openItem(item)">
|
||||
@@ -295,8 +295,8 @@ export default {
|
||||
methods: {
|
||||
sortedList: function() {
|
||||
function compare(a, b) {
|
||||
if (a.partDisplay < b.partDisplay) return -1;
|
||||
if (a.partDisplay > b.partDisplay) return 1;
|
||||
if (a.partViz < b.partViz) return -1;
|
||||
if (a.partViz > b.partViz) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ export default {
|
||||
vm.obj.items.push({
|
||||
partAssemblyId: vm.obj.id,
|
||||
partId: selected.id,
|
||||
partDisplay: selected.name,
|
||||
partViz: selected.name,
|
||||
quantity: 1
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user