Skip to content

Commit f8ac5f3

Browse files
committed
fix(format): updated format
1 parent e3ac6a2 commit f8ac5f3

7 files changed

Lines changed: 18 additions & 13 deletions

File tree

src/app/app.routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ export const routes: Routes = [
103103
{
104104
path: 'preprints/:providerId/:id/pending-moderation',
105105
loadComponent: () =>
106-
import(
107-
'@osf/features/preprints/pages/preprint-pending-moderation/preprint-pending-moderation.component'
108-
).then((mod) => mod.PreprintPendingModerationComponent),
106+
import('@osf/features/preprints/pages/preprint-pending-moderation/preprint-pending-moderation.component').then(
107+
(mod) => mod.PreprintPendingModerationComponent
108+
),
109109
},
110110
{
111111
path: 'preprints/:providerId/:id/download',

src/app/features/admin-institutions/models/institution-index-value-search-json-api.model.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ export type InstitutionIndexValueSearchIncludedJsonApi =
3333
| InstitutionSearchResultCountJsonApi
3434
| InstitutionIndexCardFilterJsonApi;
3535

36-
export interface InstitutionIndexValueSearchJsonApi
37-
extends JsonApiResponse<null, InstitutionIndexValueSearchIncludedJsonApi[]> {
36+
export interface InstitutionIndexValueSearchJsonApi extends JsonApiResponse<
37+
null,
38+
InstitutionIndexValueSearchIncludedJsonApi[]
39+
> {
3840
data: null;
3941
included: InstitutionIndexValueSearchIncludedJsonApi[];
4042
}

src/app/features/collections/collections.routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ export const collectionsRoutes: Routes = [
7373
path: ':collectionId/moderation/:id',
7474
canActivate: [authGuard],
7575
loadComponent: () =>
76-
import(
77-
'@osf/features/moderation/components/collection-submission-overview/collection-submission-overview.component'
78-
).then((mod) => mod.CollectionSubmissionOverviewComponent),
76+
import('@osf/features/moderation/components/collection-submission-overview/collection-submission-overview.component').then(
77+
(mod) => mod.CollectionSubmissionOverviewComponent
78+
),
7979
providers: [
8080
provideStates([
8181
ProjectOverviewState,

src/app/features/files/components/file-revisions/file-revisions.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h2>{{ 'files.detail.revisions.title' | translate }}</h2>
1313
<p-button
1414
class="link-btn-no-padding"
1515
link
16-
[label]="`${item.version }. ${ item.dateTime | date: 'MMM d, yyyy HH:mm' }`"
16+
[label]="`${item.version}. ${(item.dateTime | date: 'MMM d, yyyy HH:mm')}`"
1717
(onClick)="onOpenRevision(item.version)"
1818
osfStopPropagation
1919
></p-button>

src/app/features/project/overview/components/add-component-dialog/add-component-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 class="font-normal mbx-2">
5959
</div>
6060

6161
<div class="flex flex-column">
62-
<label>{{ 'project.overview.dialog.addComponent.license.title' | translate }}</label>
62+
<p>{{ 'project.overview.dialog.addComponent.license.title' | translate }}</p>
6363
<p class="pt-1" id="license">
6464
{{
6565
('project.overview.dialog.addComponent.license.description' | translate) + ' ' + currentProject()?.title + '.'

src/app/shared/components/resource-card/resource-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h2>
9595

9696
@if (resource().context) {
9797
<div class="flex flex-row gap-1 line-height-3 flex-wrap">
98-
<p [innerHTML]="`${'resourceCard.labels.context' | translate}: ${resource().context}`"></p>
98+
<p [innerHTML]="`${('resourceCard.labels.context' | translate)}: ${resource().context}`"></p>
9999
</div>
100100
}
101101

src/app/shared/models/wiki/wiki.model.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,11 @@ export interface WikiJsonApiResponse extends JsonApiResponse<WikiGetResponse[],
9292
data: WikiGetResponse[];
9393
}
9494

95-
export interface WikiJsonApiResponseWithMeta
96-
extends JsonApiResponseWithMeta<WikiGetResponse[], MetaAnonymousJsonApi, null> {
95+
export interface WikiJsonApiResponseWithMeta extends JsonApiResponseWithMeta<
96+
WikiGetResponse[],
97+
MetaAnonymousJsonApi,
98+
null
99+
> {
97100
data: WikiGetResponse[];
98101
}
99102

0 commit comments

Comments
 (0)