AI answer did not solve the issue
[sumeyye.kurtulus] said: Hello,
I can suggest you to hide the tab programmatically inside your
app.component.ts
//app.component.ts ngOnInit() { // Hide idle session timeout tab specifically const hideIdleTab = () => { const tabs = document.querySelectorAll('.nav-link'); tabs.forEach(tab => { if (tab.textContent?.toLowerCase().includes('idle session timeout')) { tab.closest('.nav-item')?.remove(); } }); }; hideIdleTab(); // Watch for dynamic content new MutationObserver(hideIdleTab).observe(document.body, { childList: true, subtree: true }); }
You can let us know if you need further assistance. Thank you for your cooperation.
Hello,
Your solution worked. Thank you so much for you quick assistance.
Hi team,
I am using the ABP Angular frontend template. When the backend is offline or not reachable, the browser tab title unexpectedly displays "MyProjectName".
I have already set the correct app title ("pro") in index.html.
The localization key AppName is configured correctly on the backend and browser title works fine when the backend is available. Frontend environment.ts files are also updated.
I also attempted to override the title via document.title = 'pro' in both main.ts and AppComponent, including using setTimeout() and even APP_INITIALIZER, but none of those prevent "MyProjectName" from showing during backend unavailability.
I can see the project name is overridden from vendor.js
[alper] said: you can hide it visually by adding the following CSS
#IdleSessionTimeoutTab-tab { display: none; }
- for MVC there's a global styling file =>
global-styles.css
in thewwwroot
folder.- for Angular
styles.scss
in theangular/src
folder.
i tried your solution inside root and outside in styles.scss, but i can still see the tab and its content.
[maliming] said: hi
Do you mean you don't need this Idle feature and want to disable/hide it completely?
Thanks,
yes, we want to disable and hide this feature completely.
AI agent answer does not work
Hi, I need to disable retry for one specific background job in case of failure. [AutomaticRetry(Attempts = 0)] does not seem to work Recurring job manager is again enqueuing it. Can you please help me? I am using IHangfireBackgroundWorker.