Skip to content

Commit

Permalink
print: only wrap the article
Browse files Browse the repository at this point in the history
Else the quantity was wrapped when it had
more than 1 digit.

closes ecamp#6008
  • Loading branch information
BacLuc committed Sep 27, 2024
1 parent e0534da commit 909f05f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions print/components/scheduleEntry/contentNode/Material.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
<content-node-content :content-node="contentNode" :icon-path="mdiPackageVariant">
<generic-error-message v-if="error" :error="error" />
<table v-else>
<tr
v-for="item in items"
:key="item.id"
class="item tw-tabular-nums tw-break-anywhere"
>
<tr v-for="item in items" :key="item.id" class="item tw-tabular-nums">
<td align="right">
{{ item.quantity }}
</td>
<td>{{ item.unit || (item.quantity && '×') }}</td>
<td width="65%">
<td width="65%" class="tw-break-anywhere">
{{ item.article }}
</td>
<td width="30%">
Expand Down

0 comments on commit 909f05f

Please sign in to comment.