From: Abhishek Desai Date: Wed, 22 Jul 2026 07:09:13 +0000 (+0530) Subject: mgr/dashboard : Favicon issue X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3f425e4c052ed84aaf88a70610f6b42f75cc0f3;p=ceph.git mgr/dashboard : Favicon issue fixes : https://tracker.ceph.com/issues/78530 Signed-off-by: Abhishek Desai --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts index 87ce8fcad916..821ff3f98e09 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.ts @@ -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); diff --git a/src/pybind/mgr/dashboard/frontend/src/index.html b/src/pybind/mgr/dashboard/frontend/src/index.html index 150565f6574e..eeafd9e3e1d3 100644 --- a/src/pybind/mgr/dashboard/frontend/src/index.html +++ b/src/pybind/mgr/dashboard/frontend/src/index.html @@ -10,9 +10,9 @@ />