gitlab-org--gitlab-foss/app/assets/javascripts/diffs/components/file_row_stats.vue

24 lines
360 B
Vue
Raw Normal View History

<script>
export default {
props: {
file: {
type: Object,
required: true,
},
},
};
</script>
<template>
2018-11-16 15:07:38 -05:00
<span v-once class="file-row-stats">
<span class="cgreen"> +{{ file.addedLines }} </span>
<span class="cred"> -{{ file.removedLines }} </span>
</span>
</template>
<style>
.file-row-stats {
font-size: 12px;
}
</style>