fix typeinfo acquiisition table alwayse present

This commit is contained in:
2024-05-18 14:38:15 +02:00
parent 894b23166c
commit 2c64cca921
2 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ const getLineColor = (result: Result) => {
</div> </div>
<div class="end"> <div class="end">
<span>Filter: </span> <span>Filter: </span>
<input type="search" class="w-96" v-model="filter" > <input type="search" class="w-96" v-model="filter" />
</div> </div>
</div> </div>
</div> </div>
@@ -96,7 +96,7 @@ const getLineColor = (result: Result) => {
<SortableHeader v-bind="headerProps" sortKey="remaining">Remaining Amount</SortableHeader> <SortableHeader v-bind="headerProps" sortKey="remaining">Remaining Amount</SortableHeader>
<SortableHeader v-bind="headerProps" sortKey="precentProfit">Profit (%)</SortableHeader> <SortableHeader v-bind="headerProps" sortKey="precentProfit">Profit (%)</SortableHeader>
<SortableHeader v-bind="headerProps" sortKey="iskProfit">Profit (ISK)</SortableHeader> <SortableHeader v-bind="headerProps" sortKey="iskProfit">Profit (ISK)</SortableHeader>
<th v-if="!infoOnly"></th> <th v-if="!infoOnly" />
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@@ -105,7 +105,7 @@ watch(useRoute(), async route => {
<span>Market Info:</span> <span>Market Info:</span>
<TrackingResultTable :items="[result]" infoOnly /> <TrackingResultTable :items="[result]" infoOnly />
</div> </div>
<div v-if="acquisitions"> <div v-if="acquisitions && acquisitions.length > 0">
<span>Acquisitions:</span> <span>Acquisitions:</span>
<AcquisitionResultTable :items="acquisitions" infoOnly /> <AcquisitionResultTable :items="acquisitions" infoOnly />
</div> </div>