@@ -58,11 +58,12 @@ export class OverviewToolbarComponent {
5858 private translateService = inject ( TranslateService ) ;
5959 private toastService = inject ( ToastService ) ;
6060 private socialShareService = inject ( SocialShareService ) ;
61- protected destroyRef = inject ( DestroyRef ) ;
6261 private readonly router = inject ( Router ) ;
6362 private readonly route = inject ( ActivatedRoute ) ;
64- protected isPublic = signal ( false ) ;
65- protected isBookmarked = signal ( false ) ;
63+
64+ destroyRef = inject ( DestroyRef ) ;
65+ isPublic = signal ( false ) ;
66+ isBookmarked = signal ( false ) ;
6667
6768 isCollectionsRoute = input < boolean > ( false ) ;
6869 isAdmin = input . required < boolean > ( ) ;
@@ -71,16 +72,16 @@ export class OverviewToolbarComponent {
7172 projectDescription = input < string > ( '' ) ;
7273 showViewOnlyLinks = input < boolean > ( true ) ;
7374
74- protected isBookmarksLoading = select ( MyResourcesSelectors . getBookmarksLoading ) ;
75- protected isBookmarksSubmitting = select ( BookmarksSelectors . getBookmarksCollectionIdSubmitting ) ;
76- protected bookmarksCollectionId = select ( BookmarksSelectors . getBookmarksCollectionId ) ;
77- protected bookmarkedProjects = select ( MyResourcesSelectors . getBookmarks ) ;
78- protected socialsActionItems = computed ( ( ) => {
75+ isBookmarksLoading = select ( MyResourcesSelectors . getBookmarksLoading ) ;
76+ isBookmarksSubmitting = select ( BookmarksSelectors . getBookmarksCollectionIdSubmitting ) ;
77+ bookmarksCollectionId = select ( BookmarksSelectors . getBookmarksCollectionId ) ;
78+ bookmarkedProjects = select ( MyResourcesSelectors . getBookmarks ) ;
79+ socialsActionItems = computed ( ( ) => {
7980 const shareableContent = this . createShareableContent ( ) ;
8081 return shareableContent ? this . buildSocialActionItems ( shareableContent ) : [ ] ;
8182 } ) ;
8283
83- protected readonly forkActionItems = [
84+ readonly forkActionItems = [
8485 {
8586 label : 'project.overview.actions.forkProject' ,
8687 command : ( ) => this . handleForkResource ( ) ,
@@ -96,7 +97,7 @@ export class OverviewToolbarComponent {
9697 } ,
9798 } ,
9899 ] ;
99- protected readonly ResourceType = ResourceType ;
100+ readonly ResourceType = ResourceType ;
100101
101102 get isRegistration ( ) : boolean {
102103 return this . currentResource ( ) ?. resourceType === ResourceType . Registration ;
@@ -134,7 +135,7 @@ export class OverviewToolbarComponent {
134135 } ) ;
135136 }
136137
137- protected handleToggleProjectPublicity ( ) : void {
138+ handleToggleProjectPublicity ( ) : void {
138139 const resource = this . currentResource ( ) ;
139140 if ( ! resource ) return ;
140141
@@ -162,7 +163,7 @@ export class OverviewToolbarComponent {
162163 } ) ;
163164 }
164165
165- protected toggleBookmark ( ) : void {
166+ toggleBookmark ( ) : void {
166167 const resource = this . currentResource ( ) ;
167168 const bookmarksId = this . bookmarksCollectionId ( ) ;
168169
0 commit comments