From 00b37310e1b01697b7899128569d647ba3756331 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 24 May 2018 14:54:34 +0300 Subject: [PATCH] fix(docs-infra): correctly show icon for fetch error when offline (#25997) PR Close #25997 --- aio/src/app/app.module.ts | 60 +++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 21 deletions(-) diff --git a/aio/src/app/app.module.ts b/aio/src/app/app.module.ts index 79bf8374e7..4ff6a8ff82 100644 --- a/aio/src/app/app.module.ts +++ b/aio/src/app/app.module.ts @@ -43,51 +43,69 @@ import { SwUpdatesModule } from 'app/sw-updates/sw-updates.module'; import {environment} from '../environments/environment'; -// These are the hardcoded inline svg sources to be used by the `` component +// These are the hardcoded inline svg sources to be used by the `` component. +// tslint:disable: max-line-length export const svgIconProviders = [ { provide: SVG_ICONS, useValue: { - name: 'keyboard_arrow_right', - svgSource: '' + name: 'close', + svgSource: + '' + + '' + + '' + + '', }, - multi: true + multi: true, }, { provide: SVG_ICONS, useValue: { - name: 'menu', - svgSource: '' + name: 'error_outline', + svgSource: + '' + + '' + + '' + + '', }, - multi: true + multi: true, }, { provide: SVG_ICONS, useValue: { name: 'insert_comment', svgSource: - '' + - '' + - '' + - '' + '' + + '' + + '' + + '', }, - multi: true + multi: true, }, { provide: SVG_ICONS, useValue: { - name: 'close', + name: 'keyboard_arrow_right', svgSource: - '' + - '' + - '' + - '' + '' + + '' + + '', }, - multi: true - } + multi: true, + }, + { + provide: SVG_ICONS, + useValue: { + name: 'menu', + svgSource: + '' + + '' + + '', + }, + multi: true, + }, ]; +// tslint:enable: max-line-length @NgModule({ imports: [