/* global Vue */ import stopwatchSvg from 'icons/_icon_stopwatch.svg'; require('../../../lib/utils/pretty_time'); (() => { Vue.component('time-tracking-collapsed-state', { name: 'time-tracking-collapsed-state', props: [ 'showComparisonState', 'showSpentOnlyState', 'showEstimateOnlyState', 'showNoTimeTrackingState', 'timeSpentHumanReadable', 'timeEstimateHumanReadable', ], methods: { abbreviateTime(timeStr) { return gl.utils.prettyTime.abbreviateTime(timeStr); }, }, template: `
`, }); })();