Skip to content

Commit

Permalink
fix eslint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
eperedo committed Oct 1, 2024
1 parent 9451c77 commit 10e6a57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/data/repositories/DataSetD2Repository.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { D2Api, MetadataPick } from "../../types/d2-api";
import { D2Api, MetadataPick } from "$/types/d2-api";
import { FutureData, apiToFuture } from "$/data/api-futures";
import { AccessData, AccessType, CoreCompetency, DataSet } from "$/domain/entities/DataSet";
import { Paginated } from "$/domain/entities/Paginated";
import { DataSetRepository, GetDataSetOptions } from "$/domain/repositories/DataSetRepository";
import { Future } from "$/domain/entities/generic/Future";
import _ from "$/domain/entities/generic/Collection";
import { Maybe } from "$/utils/ts-utils";
import { Id, OctalNotationPermission } from "$/domain/entities/Ref";
import { getUid } from "$/utils/uid";
import { Permission } from "$/domain/entities/Permission";
import _ from "$/domain/entities/generic/Collection";

export class DataSetD2Repository implements DataSetRepository {
constructor(private api: D2Api) {}
Expand Down
2 changes: 1 addition & 1 deletion src/domain/entities/DataSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class DataSet extends Struct<DataSetAttrs>() {
)}${DataSet.convertPermissionToOctal(dataSet.dataPermissions)}----`;
}

static joinShortNames(dataSets: DataSet[], separator: string = ", "): string {
static joinShortNames(dataSets: DataSet[], separator = ", "): string {
return dataSets.map(dataSet => dataSet.shortName).join(separator);
}

Expand Down
2 changes: 1 addition & 1 deletion src/webapp/components/dataset-logs/DataSetLogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const DataSetLogs = React.memo((props: DataSetLogsProps) => {
>
{logs?.map(log => {
return (
<LogsContainer>
<LogsContainer key={`${log.date}_${log.actionDescription}`}>
<LogItem label={i18n.t("Date")} value={log.date} />
<LogItem label={i18n.t("Action")} value={log.actionDescription} />
<LogItem label={i18n.t("Status")} value={log.status} />
Expand Down

0 comments on commit 10e6a57

Please sign in to comment.