2727 </tr >
2828 </template >
2929
30- <template #[` item.done ` ]=" { item } " >
31- <api-checkbox
32- :disabled =" layoutMode || doneChecklistDisabled || disabled"
33- :uri =" item.uri"
34- path =" done"
35- />
36- </template >
37-
3830 <template #[` item.quantity ` ]=" { item } " >
3931 <api-number-field
4032 v-if =" !item.readonly"
@@ -255,9 +247,6 @@ export default {
255247
256248 disabled: { type: Boolean , default: false },
257249
258- // Done-Checkbox is disabled
259- doneChecklistDisabled: { type: Boolean , required: false , default: false },
260-
261250 // layoutMode=true --> data editing is disabled
262251 layoutMode: { type: Boolean , required: false , default: false },
263252
@@ -290,13 +279,6 @@ export default {
290279
291280 if (this .isDefaultVariant ) {
292281 headers .push (
293- {
294- text: this .$tc (' entity.materialItem.fields.done' ),
295- value: ' done' ,
296- align: ' start' ,
297- sortable: false ,
298- width: ' 5%' ,
299- },
300282 {
301283 text: this .$tc (' entity.materialItem.fields.quantity' ),
302284 value: ' quantity' ,
@@ -322,23 +304,14 @@ export default {
322304 }
323305 )
324306 } else {
325- headers .push (
326- {
327- text: this .$tc (' entity.materialItem.fields.done' ),
328- value: ' done' ,
329- align: ' start' ,
330- sortable: false ,
331- width: ' 25%' ,
332- },
333- {
334- text: this .$tc (' entity.materialItem.fields.article' ),
335- value: ' article' ,
336- align: ' start' ,
337- sortable: true ,
338- width: ' auto' ,
339- cellClass: ' pl-0' ,
340- }
341- )
307+ headers .push ({
308+ text: this .$tc (' entity.materialItem.fields.article' ),
309+ value: ' article' ,
310+ align: ' start' ,
311+ sortable: true ,
312+ width: ' auto' ,
313+ cellClass: ' pl-0' ,
314+ })
342315 }
343316
344317 // Activity column only shown in period overview
0 commit comments