fixes : https://tracker.ceph.com/issues/78530
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
import { CssHelper } from '~/app/shared/classes/css-helper';
import { HealthColor } from '~/app/shared/enum/health-color.enum';
+import { AppConstants } from '~/app/shared/constants/app.constants';
import { SummaryService } from './summary.service';
@Injectable()
) {}
init() {
- this.url = this.document.getElementById('cdFavicon')?.getAttribute('href');
+ this.url = AppConstants.cephLogo;
this.sub = this.summaryService.subscribe((summary) => {
this.changeIcon(summary.health_status);
/>
<link
rel="icon"
- type="image/x-icon"
+ type="image/svg+xml"
id="cdFavicon"
- href="favicon.ico"
+ href="assets/Ceph_Logo.svg"
/>
</head>
<body>