scripts/apps/publish-preview/previewModal.tsx
Function render
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const {closeModal} = this.props;
const subscribers = this.props.subscribers.filter(
({destinations}) => (destinations ?? []).some((dest) => publishPreviewEnabled(dest)),
Function openPreviewForItem
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
openPreviewForItem(subscriberId, format, endpointUrl) {
const {itemId} = this.props;
const urls = ng.get('urls');
const nextWindow = window.open();