2018-12-05 23:21:45 +05:30
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
file: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2018-12-23 12:14:25 +05:30
|
|
|
<span v-once class="file-row-stats">
|
|
|
|
<span class="cgreen"> +{{ file.addedLines }} </span>
|
|
|
|
<span class="cred"> -{{ file.removedLines }} </span>
|
2018-12-05 23:21:45 +05:30
|
|
|
</span>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.file-row-stats {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
</style>
|