Commit a5c5cf65 authored by Bryce Johnson's avatar Bryce Johnson

Break up props onto separate lines.

parent 0b5e227d
...@@ -5,7 +5,15 @@ ...@@ -5,7 +5,15 @@
app.collapsedState = { app.collapsedState = {
name: 'time-tracking-collapsed-state', name: 'time-tracking-collapsed-state',
props: ['showComparisonState', 'showSpentOnlyState', 'showEstimateOnlyState', 'showNoTimeTrackingState', 'timeSpentHuman', 'timeEstimateHuman', 'stopwatchSvg'], props: [
'showComparisonState',
'showSpentOnlyState',
'showEstimateOnlyState',
'showNoTimeTrackingState',
'timeSpentHuman',
'timeEstimateHuman',
'stopwatchSvg'
],
methods: { methods: {
abbreviateTime(timeStr) { abbreviateTime(timeStr) {
return PrettyTime.abbreviateTime(timeStr); return PrettyTime.abbreviateTime(timeStr);
......
((app) => { ((app) => {
gl.IssuableTimeTracker = Vue.component('issuable-time-tracker', { gl.IssuableTimeTracker = Vue.component('issuable-time-tracker', {
name: 'issuable-time-tracker', name: 'issuable-time-tracker',
props: ['time_estimate', 'time_spent', 'human_time_estimate', 'human_time_spent', 'stopwatchSvg'], props: [
'time_estimate',
'time_spent',
'human_time_estimate',
'human_time_spent',
'stopwatchSvg'
],
data() { data() {
return { return {
showHelp: false, showHelp: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment