mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-28 03:13:14 +00:00
fix: Fix some button labels and tippy text
This commit is contained in:
parent
7db7f6c55f
commit
fc1c4f3279
|
@ -902,7 +902,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<button
|
||||
className="btn btn-link text-muted dropdown-item"
|
||||
onClick={linkEvent(this, this.handleEditClick)}
|
||||
data-tippy-content={i18n.t("edit")}
|
||||
aria-label={i18n.t("edit")}
|
||||
>
|
||||
<Icon classes="mr-1" icon="edit" inline />
|
||||
|
@ -918,7 +917,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<button
|
||||
className="btn btn-link text-muted dropdown-item"
|
||||
onClick={linkEvent(this, this.handleDeleteClick)}
|
||||
data-tippy-content={label}
|
||||
aria-label={label}
|
||||
>
|
||||
{this.state.deleteLoading ? (
|
||||
|
@ -930,7 +928,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
classes={classNames("mr-1", { "text-danger": deleted })}
|
||||
inline
|
||||
/>
|
||||
{i18n.t("delete")}
|
||||
{label}
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
|
@ -961,7 +959,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<button
|
||||
className="btn btn-link text-muted dropdown-item"
|
||||
onClick={linkEvent(this, this.handleModLock)}
|
||||
data-tippy-content={label}
|
||||
aria-label={label}
|
||||
>
|
||||
{this.state.lockLoading ? (
|
||||
|
@ -973,7 +970,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
classes={classNames("mr-1", { "text-danger": locked })}
|
||||
inline
|
||||
/>
|
||||
{i18n.t("lock")}
|
||||
{label}
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
|
|
Loading…
Reference in a new issue