From fb6ee45f9e96155fca0a9ab456824d7704522f9c Mon Sep 17 00:00:00 2001 From: Rachel Fox Date: Tue, 12 Nov 2019 03:39:06 +0000 Subject: [PATCH] fix whilst to while --- app/assets/javascripts/ide/stores/actions/file.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/ide/stores/actions/file.js b/app/assets/javascripts/ide/stores/actions/file.js index 7627b6e03af52b..4719fc8e2f348d 100644 --- a/app/assets/javascripts/ide/stores/actions/file.js +++ b/app/assets/javascripts/ide/stores/actions/file.js @@ -85,7 +85,7 @@ export const getFileData = ( .catch(() => { commit(types.TOGGLE_LOADING, { entry: file }); dispatch('setErrorMessage', { - text: __('An error occurred whilst loading the file.'), + text: __('An error occurred while loading the file.'), action: payload => dispatch('getFileData', payload).then(() => dispatch('setErrorMessage', null)), actionText: __('Please try again'), @@ -127,7 +127,7 @@ export const getRawFileData = ({ state, commit, dispatch, getters }, { path }) = }) .catch(() => { dispatch('setErrorMessage', { - text: __('An error occurred whilst loading the file content.'), + text: __('An error occurred while loading the file content.'), action: payload => dispatch('getRawFileData', payload).then(() => dispatch('setErrorMessage', null)), actionText: __('Please try again'), -- GitLab