capitalize button (#1616)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
Alec Armbruster 2023-06-26 15:25:22 -04:00 committed by GitHub
parent 96cf021105
commit 7ea9f26a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ import {
setIsoData, setIsoData,
updatePersonBlock, updatePersonBlock,
} from "@utils/app"; } from "@utils/app";
import { capitalizeFirstLetter } from "@utils/helpers";
import { RouteDataResponse } from "@utils/types"; import { RouteDataResponse } from "@utils/types";
import { Component, linkEvent } from "inferno"; import { Component, linkEvent } from "inferno";
import { import {
@ -243,7 +244,9 @@ export class Inbox extends Component<any, InboxState> {
{this.state.markAllAsReadRes.state == "loading" ? ( {this.state.markAllAsReadRes.state == "loading" ? (
<Spinner /> <Spinner />
) : ( ) : (
capitalizeFirstLetter(
I18NextService.i18n.t("mark_all_as_read") I18NextService.i18n.t("mark_all_as_read")
)
)} )}
</button> </button>
)} )}