diff --git a/src/views/this-project.vue b/src/views/this-project.vue index 4e6ad9c..4ebd031 100644 --- a/src/views/this-project.vue +++ b/src/views/this-project.vue @@ -385,14 +385,7 @@ > @@ -446,14 +439,7 @@ > @@ -471,13 +457,9 @@ class="d-inline-block text-truncate" >
- {{ repo.name + '/' + current_file.path }} + {{ repo.name + '/' + currentFile.path }}
mdi-download @@ -500,7 +482,7 @@ class="mx-1" @click=" copy_content_code( - current_file.decoded_content_original, + currentFile.decoded_content_original, ) " > @@ -511,7 +493,7 @@ color="primary" class="mx-1" small - @click="open_gh_path(current_file.path)" + @click="open_gh_path(currentFile.path)" > mdi-xml @@ -525,7 +507,7 @@ :max-height="ismobile ? 700 : 650" rounded elevation="13" - v-html="current_file.decoded_content_display" + v-html="currentFile.decoded_content_display" /> @@ -773,7 +755,10 @@ export default { current_branch: {}, preFormatText, file_view: false, - current_file: {}, + currentFile: { + decoded_content_display: '', + total_lines: 0, + }, startPath: '/', currentPath: '/', historyState: [],