diff --git a/src/app/features/metadata/dialogs/contributors-dialog/contributors-dialog.component.html b/src/app/features/metadata/dialogs/contributors-dialog/contributors-dialog.component.html
index f9212d8cc..3953d23fa 100644
--- a/src/app/features/metadata/dialogs/contributors-dialog/contributors-dialog.component.html
+++ b/src/app/features/metadata/dialogs/contributors-dialog/contributors-dialog.component.html
@@ -13,7 +13,7 @@
{{ 'project.contributors.addContributor' | translate }}
-
+
{
const currentUserId = this.currentUser()?.id;
const initialContributors = this.initialContributors();
@@ -76,17 +88,15 @@ export class ContributorsDialogComponent implements OnInit {
);
});
- actions = createDispatchMap({
- updateSearchValue: UpdateContributorsSearchValue,
- updatePermissionFilter: UpdatePermissionFilter,
- updateBibliographyFilter: UpdateBibliographyFilter,
- deleteContributor: DeleteContributor,
- addContributor: AddContributor,
- updateContributor: UpdateContributor,
- });
+ get searchPlaceholder() {
+ return this.resourceType === ResourceType.Project
+ ? 'project.contributors.searchProjectPlaceholder'
+ : 'project.contributors.searchRegistrationPlaceholder';
+ }
- private readonly resourceType: ResourceType;
- private readonly resourceId: string;
+ get hasChanges(): boolean {
+ return JSON.stringify(this.initialContributors()) !== JSON.stringify(this.contributors());
+ }
constructor() {
this.resourceId = this.config.data?.resourceId;
@@ -97,10 +107,6 @@ export class ContributorsDialogComponent implements OnInit {
});
}
- get hasChanges(): boolean {
- return JSON.stringify(this.initialContributors()) !== JSON.stringify(this.contributors());
- }
-
ngOnInit(): void {
this.setSearchSubscription();
}
diff --git a/src/app/features/project/wiki/wiki.component.html b/src/app/features/project/wiki/wiki.component.html
index 0f3601362..99de7c58a 100644
--- a/src/app/features/project/wiki/wiki.component.html
+++ b/src/app/features/project/wiki/wiki.component.html
@@ -1,4 +1,4 @@
-
+