Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Don't set an empty title on icon when not passed

Oliver Güntherbc0f03e30e16
diff --git a/frontend/src/app/shared/components/icon/icon.component.ts b/frontend/src/app/shared/components/icon/icon.component.ts
index 40a8367b541..7b3536e4b48 100644
--- a/frontend/src/app/shared/components/icon/icon.component.ts
+++ b/frontend/src/app/shared/components/icon/icon.component.ts
@@ -33,7 +33,7 @@ import { Component, Input } from '@angular/core';
host: { class: 'op-icon--wrapper' },
template: `
<i [ngClass]="iconClasses"
- [title]="iconTitle"
+ [attr.title]="iconTitle || undefined"
aria-hidden="true"></i>
<span
class="hidden-for-sighted"