Commit aebfe400 authored by Mark Florian's avatar Mark Florian

Merge branch 'patch-97' into 'master'

Remove `error` from UI

See merge request gitlab-org/gitlab!29281
parents b6043f99 287d6bb5
<script> <script>
/* eslint-disable @gitlab/vue-require-i18n-strings */
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { GlSkeletonLoading } from '@gitlab/ui'; import { GlSkeletonLoading } from '@gitlab/ui';
import DiffFileHeader from '~/diffs/components/diff_file_header.vue'; import DiffFileHeader from '~/diffs/components/diff_file_header.vue';
...@@ -96,7 +95,7 @@ export default { ...@@ -96,7 +95,7 @@ export default {
<td class="old_line diff-line-num"></td> <td class="old_line diff-line-num"></td>
<td class="new_line diff-line-num"></td> <td class="new_line diff-line-num"></td>
<td v-if="error" class="js-error-lazy-load-diff diff-loading-error-block"> <td v-if="error" class="js-error-lazy-load-diff diff-loading-error-block">
{{ error }} Unable to load the diff {{ __('Unable to load the diff') }}
<button <button
class="btn-link btn-link-retry btn-no-padding js-toggle-lazy-diff-retry-button" class="btn-link btn-link-retry btn-no-padding js-toggle-lazy-diff-retry-button"
@click="fetchDiff" @click="fetchDiff"
......
---
title: Remove 'error' from diff note error message
merge_request: 29281
author:
type: fixed
...@@ -21814,6 +21814,9 @@ msgstr "" ...@@ -21814,6 +21814,9 @@ msgstr ""
msgid "Unable to generate new instance ID" msgid "Unable to generate new instance ID"
msgstr "" msgstr ""
msgid "Unable to load the diff"
msgstr ""
msgid "Unable to load the diff. %{button_try_again}" msgid "Unable to load the diff. %{button_try_again}"
msgstr "" msgstr ""
......
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