]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard : Favicon issue 70420/head
authorAbhishek Desai <abhishek.desai1@ibm.com>
Wed, 22 Jul 2026 07:09:13 +0000 (12:39 +0530)
committerAbhishek Desai <abhishek.desai1@ibm.com>
Thu, 23 Jul 2026 06:50:23 +0000 (12:20 +0530)
fixes : https://tracker.ceph.com/issues/78530
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts
src/pybind/mgr/dashboard/frontend/src/index.html

index 87ce8fcad91638ce4d99d7284675102652bb080a..821ff3f98e09394976518bdc311ed7fbbbb9c017 100644 (file)
@@ -5,6 +5,7 @@ import { Subscription } from 'rxjs';
 
 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()
@@ -20,7 +21,7 @@ export class FaviconService implements OnDestroy {
   ) {}
 
   init() {
-    this.url = this.document.getElementById('cdFavicon')?.getAttribute('href');
+    this.url = AppConstants.cephLogo;
 
     this.sub = this.summaryService.subscribe((summary) => {
       this.changeIcon(summary.health_status);
index 150565f6574eaa6fc20be47765b66a41efbf516e..eeafd9e3e1d390e1deffa49006eeed243d0a1b6a 100644 (file)
@@ -10,9 +10,9 @@
     />
     <link
       rel="icon"
-      type="image/x-icon"
+      type="image/svg+xml"
       id="cdFavicon"
-      href="favicon.ico"
+      href="assets/Ceph_Logo.svg"
     />
   </head>
   <body>