Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Nov 28, 2023
1 parent 417bf2c commit f3e2397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sections/dataset/DatasetFactory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export class DatasetFactory {
<MetadataBlockInfoProvider repository={metadataBlockInfoRepository}>
<AnonymizedProvider>
<AlertProvider>
<DatasetWithSearchParams />
</AlertProvider>
<DatasetWithSearchParams />
</AlertProvider>
</AnonymizedProvider>
</MetadataBlockInfoProvider>
</NotImplementedModalProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export function PublishDatasetMenu({ dataset }: PublishDatasetMenuProps) {
asButtonGroup
variant="secondary"
disabled={
dataset.checkIsLockedFromPublishing(user.persistentId) ||
!dataset.hasValidTermsOfAccess ||
dataset.checkIsLockedFromPublishing(user.persistentId) ||
!dataset.hasValidTermsOfAccess ||
!dataset.isValid
}>
<DropdownButtonItem>{t('datasetActionButtons.publish.publish')}</DropdownButtonItem>
Expand Down

0 comments on commit f3e2397

Please sign in to comment.