Skip to content

Commit 324a9e3

Browse files
committed
fix(merge): fixed merge changes
1 parent 234e3dd commit 324a9e3

File tree

49 files changed

+14
-1050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+14
-1050
lines changed

src/app/core/constants/nav-items.constant.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@ export const PROJECT_MENU_ITEMS: CustomMenuItem[] = [
9696
visible: true,
9797
routerLinkActiveOptions: { exact: false },
9898
},
99-
{
100-
id: 'project-linked-services',
101-
label: 'navigation.linkedServices',
102-
routerLink: 'links',
103-
visible: true,
104-
routerLinkActiveOptions: { exact: true },
105-
},
10699
{
107100
id: 'project-settings',
108101
label: 'navigation.settings',

src/app/features/analytics/analytics.component.spec.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,4 @@ describe('Component: Analytics', () => {
101101

102102
expect(navigateSpy).toHaveBeenCalledWith(['duplicates'], { relativeTo: expect.any(Object) });
103103
});
104-
105-
it('should set selectedRange via onRangeChange', () => {
106-
fixture.detectChanges();
107-
component.onRangeChange('month');
108-
expect(component.selectedRange()).toBe('month');
109-
});
110-
111-
it('should navigate to duplicates with correct relative route', () => {
112-
const router = TestBed.inject(Router);
113-
const navigateSpy = jest.spyOn(router, 'navigate');
114-
115-
fixture.detectChanges();
116-
component.navigateToDuplicates();
117-
118-
expect(navigateSpy).toHaveBeenCalledWith(['duplicates'], { relativeTo: expect.any(Object) });
119-
});
120104
});
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:host {
2+
display: flex;
3+
flex: 1;
4+
}

src/app/features/files/pages/file-redirect/file-redirect.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { FilesService } from '@osf/shared/services';
88
selector: 'osf-file-redirect',
99
imports: [],
1010
templateUrl: './file-redirect.component.html',
11+
styleUrl: './file-redirect.component.scss',
1112
changeDetection: ChangeDetectionStrategy.OnPush,
1213
})
1314
export class FileRedirectComponent {

src/app/features/institutions/pages/institutions-list/institutions-list.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { FetchInstitutions, InstitutionsSelectors } from '@osf/shared/stores';
2424
LoadingSpinnerComponent,
2525
ScheduledBannerComponent,
2626
RouterLink,
27-
ScheduledBannerComponent,
2827
],
2928
templateUrl: './institutions-list.component.html',
3029
changeDetection: ChangeDetectionStrategy.OnPush,

src/app/features/metadata/models/description-result.model.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export enum PreprintSubmissionsSort {
22
TitleAZ = 'title',
33
TitleZA = '-title',
4-
Oldest = '-date_last_transitioned',
5-
Newest = 'date_last_transitioned',
4+
Oldest = 'date_last_transitioned',
5+
Newest = '-date_last_transitioned',
66
}

src/app/features/my-projects/my-projects.component.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ describe('MyProjectsComponent', () => {
6666

6767
fixture = TestBed.createComponent(MyProjectsComponent);
6868
component = fixture.componentInstance;
69-
70-
(component as any).queryParams = () => ({});
71-
7269
fixture.detectChanges();
7370
});
7471

src/app/features/preprints/pages/select-preprint-service/select-preprint-service.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ <h2>{{ 'preprints.selectService.sectionTitle' | translate }}</h2>
1111
{{ 'preprints.selectService.learnMore' | translate }}
1212
</a>
1313
</p>
14+
1415
<section class="mt-6 grid justify-content-center align-items-start gap-4">
1516
@if (areProvidersLoading()) {
1617
@for (_ of skeletonArray; track $index) {
@@ -59,7 +60,7 @@ <h4 class="mt-3">{{ provider.name }}</h4>
5960
}
6061
}
6162
</section>
62-
<<<<<<< HEAD ======= >>>>>>> origin/main
63+
6364
<section class="mt-6 flex flex-row justify-content-end">
6465
<p-button
6566
[label]="'common.buttons.next' | translate"

src/app/features/profile/pages/my-profile/my-profile.component.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)