Commit cd75ea91 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch '339496-address-i18n-helpers-offenses' into 'master'

Fixed Address require-string-literal-i18n-helpers offenses

See merge request gitlab-org/gitlab!72926
parents 8f2b5432 57cd0430
/* eslint-disable @gitlab/require-string-literal-i18n-helpers */
import $ from 'jquery'; import $ from 'jquery';
import Visibility from 'visibilityjs'; import Visibility from 'visibilityjs';
import Vue from 'vue'; import Vue from 'vue';
...@@ -621,7 +620,7 @@ export const submitSuggestion = ( ...@@ -621,7 +620,7 @@ export const submitSuggestion = (
const flashMessage = errorMessage || defaultMessage; const flashMessage = errorMessage || defaultMessage;
createFlash({ createFlash({
message: __(flashMessage), message: flashMessage,
parent: flashContainer, parent: flashContainer,
}); });
}) })
...@@ -657,7 +656,7 @@ export const submitSuggestionBatch = ({ commit, dispatch, state }, { message, fl ...@@ -657,7 +656,7 @@ export const submitSuggestionBatch = ({ commit, dispatch, state }, { message, fl
const flashMessage = errorMessage || defaultMessage; const flashMessage = errorMessage || defaultMessage;
createFlash({ createFlash({
message: __(flashMessage), message: flashMessage,
parent: flashContainer, parent: flashContainer,
}); });
}) })
......
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