mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 00:01:15 +00:00
fix: Undo some other extraneous changes
This commit is contained in:
parent
d0fb7e6147
commit
1ea33e8c7e
1 changed files with 2 additions and 6 deletions
|
@ -656,6 +656,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{this.saveButton}
|
{this.saveButton}
|
||||||
|
{this.crossPostButton}
|
||||||
|
|
||||||
{/**
|
{/**
|
||||||
* If there is a URL, or if the post has a body and we were told not to
|
* If there is a URL, or if the post has a body and we were told not to
|
||||||
|
@ -680,11 +681,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<ul className="dropdown-menu" id="advancedButtonsDropdown">
|
<ul className="dropdown-menu" id="advancedButtonsDropdown">
|
||||||
<li>{this.crossPostButton}</li>
|
|
||||||
<li>
|
|
||||||
<hr className="dropdown-divider" />
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{!this.myPost ? (
|
{!this.myPost ? (
|
||||||
<>
|
<>
|
||||||
<li>{this.reportButton}</li>
|
<li>{this.reportButton}</li>
|
||||||
|
@ -779,7 +775,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
get crossPostButton() {
|
get crossPostButton() {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
className="btn-animate text-muted py-0"
|
className="btn btn-sm btn-animate text-muted py-0"
|
||||||
to={{
|
to={{
|
||||||
/* Empty string properties are required to satisfy type*/
|
/* Empty string properties are required to satisfy type*/
|
||||||
pathname: "/create_post",
|
pathname: "/create_post",
|
||||||
|
|
Loading…
Reference in a new issue