Skip to content

Commit

Permalink
MNT Fix js lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 22, 2023
1 parent 5dea8dc commit 7addfe8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/TinyMCE_sslink-file.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client/dist/js/TinyMCE_ssmedia.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/src/containers/AssetAdmin/AssetAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,6 @@ class AssetAdmin extends Component {

render() {
const { folder, folderId, query, getUrl, type, maxFiles, toolbarChildren, SearchComponent, BulkDeleteConfirmationComponent } = this.props;
const { archiveFiles } = this.props.sectionConfig;

const showBackButton = Boolean(folderId || hasFilters(query.filter));
const searchFormSchemaUrl = this.props.sectionConfig.form.fileSearchForm.schemaUrl;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import i18n from 'i18n';
import React, { Fragment } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import { descendantFileTotalsShape } from './helpers';

Expand Down Expand Up @@ -75,11 +75,11 @@ const BulkDeleteMessage = ({
archiveFiles
);
return (
<Fragment>
<>
<p>{message}</p>
{(folderDescendantFileTotals.totalItems > 0 || fileTotalItems > 0) &&
<p>{i18n._t(transKey, transDefault)}</p>}
</Fragment>
</>
);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const DeletionModal = ({ isOpen, body, onCancel, actions, archiveFiles }) => {
<ModalFooter>
{actions.map(({ label, handler, color }) => (
<Button key={label} color={color} onClick={handler}>{label}</Button>
))}
))}
</ModalFooter>
</Modal>
);
Expand Down

0 comments on commit 7addfe8

Please sign in to comment.