Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/3.5.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
radko93 committed Nov 28, 2020
2 parents 3caa18d + 4a36cbf commit 0b91975
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "StandardNotes",
"version": "3.5.9",
"user-version": "3.5.9",
"version": "3.5.10",
"user-version": "3.5.10",
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/screens/Authenticate/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ export const getChallengePromptTitle = (
prompt: ChallengePrompt,
state: AuthenticationValueStateType
) => {
const title = prompt.title!;
const title = prompt.title;
switch (state) {
case AuthenticationValueStateType.WaitingTurn:
return title.concat(' ', '- Waiting.');
return title?.concat(' ', '- Waiting.') ?? 'Waiting';
case AuthenticationValueStateType.Locked:
return title.concat(' ', '- Locked.');
return title?.concat(' ', '- Locked.') ?? 'Locked';
default:
return title;
}
Expand Down

0 comments on commit 0b91975

Please sign in to comment.