Move TimeTrackingSpentOnlyPane vue component
This commit is contained in:
parent
0bca017dfb
commit
467623aa69
4 changed files with 25 additions and 17 deletions
|
@ -1,15 +0,0 @@
|
|||
export default {
|
||||
name: 'time-tracking-spent-only-pane',
|
||||
props: {
|
||||
timeSpentHumanReadable: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
template: `
|
||||
<div class="time-tracking-spend-only-pane">
|
||||
<span class="bold">Spent:</span>
|
||||
{{ timeSpentHumanReadable }}
|
||||
</div>
|
||||
`,
|
||||
};
|
|
@ -0,0 +1,18 @@
|
|||
<script>
|
||||
export default {
|
||||
name: 'TimeTrackingSpentOnlyPane',
|
||||
props: {
|
||||
timeSpentHumanReadable: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="time-tracking-spend-only-pane">
|
||||
<span class="bold">Spent:</span>
|
||||
{{ timeSpentHumanReadable }}
|
||||
</div>
|
||||
</template>
|
|
@ -1,7 +1,7 @@
|
|||
<script>
|
||||
import TimeTrackingHelpState from './help_state.vue';
|
||||
import TimeTrackingCollapsedState from './collapsed_state.vue';
|
||||
import timeTrackingSpentOnlyPane from './spent_only_pane';
|
||||
import TimeTrackingSpentOnlyPane from './spent_only_pane.vue';
|
||||
import TimeTrackingNoTrackingPane from './no_tracking_pane.vue';
|
||||
import TimeTrackingEstimateOnlyPane from './estimate_only_pane.vue';
|
||||
import TimeTrackingComparisonPane from './comparison_pane.vue';
|
||||
|
@ -13,7 +13,7 @@ export default {
|
|||
components: {
|
||||
TimeTrackingCollapsedState,
|
||||
TimeTrackingEstimateOnlyPane,
|
||||
'time-tracking-spent-only-pane': timeTrackingSpentOnlyPane,
|
||||
TimeTrackingSpentOnlyPane,
|
||||
TimeTrackingNoTrackingPane,
|
||||
TimeTrackingComparisonPane,
|
||||
TimeTrackingHelpState,
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Move TimeTrackingSpentOnlyPane vue component
|
||||
merge_request: 18710
|
||||
author: George Tsiolis
|
||||
type: performance
|
Loading…
Reference in a new issue