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

Fix copy to clipboard component name

Dombi Attilae131ab21f275
diff --git a/frontend/src/app/core/setup/global-dynamic-components.const.ts b/frontend/src/app/core/setup/global-dynamic-components.const.ts
index aca0cd9a5e1..aee37e347df 100644
--- a/frontend/src/app/core/setup/global-dynamic-components.const.ts
+++ b/frontend/src/app/core/setup/global-dynamic-components.const.ts
@@ -76,7 +76,7 @@ import {
import {
CopyToClipboardComponent,
copyToClipboardSelector,
-} from 'core-app/shared/components/copy-to-clipboard/copy-to-clipboard.directive';
+} from 'core-app/shared/components/copy-to-clipboard/copy-to-clipboard.component';
import {
GlobalSearchInputComponent,
globalSearchSelector,
diff --git a/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.directive.ts b/frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.component.ts
similarity index 100%
rename from frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.directive.ts
rename to frontend/src/app/shared/components/copy-to-clipboard/copy-to-clipboard.component.ts
diff --git a/frontend/src/app/shared/shared.module.ts b/frontend/src/app/shared/shared.module.ts
index ac924d4e47f..cfeff13a9b4 100644
--- a/frontend/src/app/shared/shared.module.ts
+++ b/frontend/src/app/shared/shared.module.ts
@@ -64,8 +64,8 @@ import {
highlightColSelector,
OpHighlightColDirective,
} from './directives/highlight-col/highlight-col.directive';
-
import { CopyToClipboardService } from './components/copy-to-clipboard/copy-to-clipboard.service';
+import { CopyToClipboardComponent } from './components/copy-to-clipboard/copy-to-clipboard.component';
import { OpDateTimeComponent } from './components/date/op-date-time.component';
import { ToastComponent } from './components/toaster/toast.component';
@@ -233,6 +233,7 @@ export function bootstrapModule(injector:Injector):void {
OpHighlightColDirective,
// Add functionality to rails rendered templates
+ CopyToClipboardComponent,
CollapsibleSectionComponent,
ResizerComponent,