Custom branding: Correctly override bouncing loader (#115871)
use the custom branding logo for the bouncing loader
This commit is contained in:
@@ -3,7 +3,8 @@ import { css, keyframes } from '@emotion/css';
|
||||
import { GrafanaTheme2 } from '@grafana/data';
|
||||
import { t } from '@grafana/i18n';
|
||||
import { useStyles2 } from '@grafana/ui';
|
||||
import grafanaIconSvg from 'img/grafana_icon.svg';
|
||||
|
||||
import { Branding } from '../Branding/Branding';
|
||||
|
||||
export function BouncingLoader() {
|
||||
const styles = useStyles2(getStyles);
|
||||
@@ -16,7 +17,7 @@ export function BouncingLoader() {
|
||||
aria-label={t('bouncing-loader.label', 'Loading')}
|
||||
>
|
||||
<div className={styles.bounce}>
|
||||
<img alt="" src={grafanaIconSvg} className={styles.logo} />
|
||||
<Branding.LoginLogo className={styles.logo} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user