debian-mirror-gitlab/app/assets/javascripts/jobs/components/log/duration_badge.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
262 B
Vue
Raw Normal View History

2019-12-04 20:38:33 +05:30
<script>
2021-03-11 19:13:27 +05:30
import { GlBadge } from '@gitlab/ui';
2019-12-04 20:38:33 +05:30
export default {
2021-03-11 19:13:27 +05:30
components: {
GlBadge,
},
2019-12-04 20:38:33 +05:30
props: {
duration: {
type: String,
required: true,
},
},
};
</script>
<template>
2021-03-11 19:13:27 +05:30
<gl-badge>
2019-12-04 20:38:33 +05:30
{{ duration }}
2021-03-11 19:13:27 +05:30
</gl-badge>
2019-12-04 20:38:33 +05:30
</template>