Commit 2a464c8c authored by Paul Kaplan's avatar Paul Kaplan

Remove share button on censored project banner.

Functionality needs reconsidering.
parent a2e46ea6
......@@ -132,19 +132,10 @@ const PreviewPresentation = ({
message={<FormattedMessage id="project.deletedBanner" />}
/>);
} else if (visibilityInfo.censored) {
if (visibilityInfo.reshareable) {
banner = (<Banner
actionMessage={<FormattedMessage id="project.share.shareButton" />}
className="banner-danger"
message={embedCensorMessage(visibilityInfo.message)}
onAction={onShare}
/>);
} else {
banner = (<Banner
className="banner-danger"
message={embedCensorMessage(visibilityInfo.message)}
/>);
}
banner = (<Banner
className="banner-danger"
message={embedCensorMessage(visibilityInfo.message)}
/>);
} else if (justRemixed) {
banner = (
<Banner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment