commit | a00bf3816127fdd04da56bc6557f875f5de01e9e | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Sat Jun 23 07:54:01 2018 +0100 |
committer | Sean Condon <sean.condon@microsemi.com> | Sun Jun 24 09:58:25 2018 +0000 |
tree | 2bdd9a02f6f65b7344efcd8a53bb4991a3d97a3a | |
parent | 77323c50ce07885705498389f314e730b8562482 [diff] [blame] |
Enabled --prod mode for GUI2 - refactored modules Change-Id: I224fe9564cb225b9ebaed0a43281de54ec6eb274
diff --git a/web/gui2/src/main/webapp/app/fw/util/theme.service.ts b/web/gui2/src/main/webapp/app/fw/util/theme.service.ts index e5c9564..fe85766 100644 --- a/web/gui2/src/main/webapp/app/fw/util/theme.service.ts +++ b/web/gui2/src/main/webapp/app/fw/util/theme.service.ts
@@ -20,7 +20,9 @@ /** * ONOS GUI -- Util -- Theme Service */ -@Injectable() +@Injectable({ + providedIn: 'root', +}) export class ThemeService { themes: string[] = ['light', 'dark']; thidx = 0;