We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe23b22 commit 4fbadd4Copy full SHA for 4fbadd4
web/frontend/src/pages/ballot/Show.tsx
@@ -79,7 +79,8 @@ const Ballot: FC = () => {
79
throw new Error(txt);
80
}
81
const res = await response.json();
82
- setModalText(`${t('voteSuccess')} ${res.BallotID}`);
+ const id = res.BallotID || 'Not Implemented Yet, see issue 240';
83
+ setModalText(`${t('voteSuccess')} ${id}`);
84
setModalTitle(t('voteSuccessful'));
85
} catch (error) {
86
if (error.message.includes('ECONNREFUSED')) {
0 commit comments