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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove unused flash singleton
Oliver Güntherdeb8b58d58da
diff --git a/frontend/src/turbo/flash-stream-action.ts b/frontend/src/turbo/flash-stream-action.tsindex ddbe7d0bbc8..47e08a4c8fc 100644--- a/frontend/src/turbo/flash-stream-action.ts+++ b/frontend/src/turbo/flash-stream-action.ts@@ -3,13 +3,6 @@ import { StreamActions, StreamElement } from '@hotwired/turbo';export function registerFlashStreamAction() {StreamActions.flash = function dialogStreamAction(this:StreamElement) {const content = this.templateElement.content;-- const flash = content.querySelector('.flash') as HTMLElement;- if (flash.dataset.singleton) {- const elements = document.querySelectorAll('.flash');- elements.forEach((element) => element.parentElement?.remove());- }-document.body.append(content);};}