Skip to content

Commit

Permalink
Merge branch 'dev' into feat-39-refine-item-page-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
AsahiLuna authored Aug 15, 2019
2 parents c94f2b7 + 7b85e64 commit fd73fe5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
28 changes: 15 additions & 13 deletions src/views/Stats/Item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,19 +152,21 @@
<td class="text-xs-right">
{{ props.item.quantity }}
</td>
<td class="text-xs-right charts-data-wrapper">
{{ props.item.percentageText }}
<Charts
v-if="getStageItemTrend(props.item.stage.stageId)"
:interval="getStageItemTrendInterval(props.item.stage.stageId)"
:x-start="getStageItemTrendStartTime(props.item.stage.stageId)"
:show-dialog="expanded[props.item.stage.stageId]"
:data-keys="['quantity']"
sparkline-key="quantity"
sparkline-sub-key="times"
:data="getStageItemTrendResults(props.item.stage.stageId)"
:charts-id="props.item.stage.stageId"
/>
<td class="text-xs-right">
<div class="charts-data-wrapper">
{{ props.item.percentageText }}
<Charts
v-if="getStageItemTrend(props.item.stage.stageId)"
:interval="getStageItemTrendInterval(props.item.stage.stageId)"
:x-start="getStageItemTrendStartTime(props.item.stage.stageId)"
:show-dialog="expanded[props.item.stage.stageId]"
:data-keys="['quantity']"
sparkline-key="quantity"
sparkline-sub-key="times"
:data="getStageItemTrendResults(props.item.stage.stageId)"
:charts-id="props.item.stage.stageId"
/>
</div>
</td>
<td class="text-xs-right">
{{ props.item.apPPR }}
Expand Down
28 changes: 15 additions & 13 deletions src/views/Stats/Stage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,19 +298,21 @@
<td class="text-xs-right">
{{ props.item.quantity }}
</td>
<td class="text-xs-right charts-data-wrapper">
{{ props.item.percentageText }}
<Charts
v-if="currentTrends"
:interval="currentTrends && currentTrends.interval"
:x-start="currentTrends && currentTrends.startTime"
:show-dialog="expanded[props.item.item.itemId]"
:data-keys="['quantity']"
sparkline-key="quantity"
sparkline-sub-key="times"
:data="currentTrendsData && currentTrendsData[props.item.item.itemId]"
:charts-id="props.item.item.itemId"
/>
<td class="text-xs-right">
<div class="charts-data-wrapper">
{{ props.item.percentageText }}
<Charts
v-if="currentTrends"
:interval="currentTrends && currentTrends.interval"
:x-start="currentTrends && currentTrends.startTime"
:show-dialog="expanded[props.item.item.itemId]"
:data-keys="['quantity']"
sparkline-key="quantity"
sparkline-sub-key="times"
:data="currentTrendsData && currentTrendsData[props.item.item.itemId]"
:charts-id="props.item.item.itemId"
/>
</div>
</td>
<td class="text-xs-right">
{{ props.item.apPPR }}
Expand Down

0 comments on commit fd73fe5

Please sign in to comment.