Commit b0d84c1e authored by Phil Hughes's avatar Phil Hughes

added ChangedFileIcon component to rows

parent b867b33e
<script> <script>
import fuzzaldrinPlus from 'fuzzaldrin-plus'; import fuzzaldrinPlus from 'fuzzaldrin-plus';
import FileIcon from '../../../vue_shared/components/file_icon.vue'; import FileIcon from '../../../vue_shared/components/file_icon.vue';
import ChangedFileIcon from '../changed_file_icon.vue';
const MAX_PATH_LENGTH = 60; const MAX_PATH_LENGTH = 60;
export default { export default {
components: { components: {
ChangedFileIcon,
FileIcon, FileIcon,
}, },
props: { props: {
...@@ -71,5 +73,13 @@ export default { ...@@ -71,5 +73,13 @@ export default {
> >
</span> </span>
</span> </span>
<span
v-if="file.changed || file.tempFile"
class="diff-changed-stats"
>
<changed-file-icon
:file="file"
/>
</span>
</a> </a>
</template> </template>
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