Commit 2f929d21 authored by Peter Hegman's avatar Peter Hegman

Merge branch '353724-migrate-loading-icon' into 'master'

Migrate loading icon to be Pajamas compliant

See merge request gitlab-org/gitlab!81985
parents 6fb28081 9b70879b
......@@ -2,6 +2,7 @@ import $ from 'jquery';
import createFlash from '~/flash';
import axios from '~/lib/utils/axios_utils';
import { queryToObject } from '~/lib/utils/url_utility';
import { loadingIconForLegacyJS } from '~/loading_icon_for_legacy_js';
import { __ } from '~/locale';
......@@ -14,7 +15,7 @@ export default class GpgBadges {
const badges = $('.js-loading-gpg-badge');
badges.html('<span class="gl-spinner gl-spinner-orange gl-spinner-sm"></span>');
badges.html(loadingIconForLegacyJS());
badges.children().attr('aria-label', __('Loading'));
const displayError = () =>
......
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