Skip to content
Snippets Groups Projects
Commit 4ae1591b authored by Sean Nichols's avatar Sean Nichols
Browse files

Move empty file message to diff_content component

parent 48d3fff0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -69,7 +69,8 @@ export default {
<template>
<div class="diff-content">
<div class="diff-viewer">
<template v-if="isTextFile">
<div v-if="diffFile.empty" class="nothing-here-block">{{ __('Empty file') }}</div>
<template v-else-if="isTextFile">
<inline-diff-view
v-if="isInlineView"
:diff-file="diffFile"
Loading
Loading
Loading
Loading
@@ -176,7 +176,6 @@ export default {
{{ __('This source diff could not be displayed because it is too large.') }}
<span v-html="viewBlobLink"></span>
</div>
<div v-if="file.empty" class="nothing-here-block">{{ __('Empty file') }}</div>
</div>
</template>
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment