Skip to content

Commit 4fbadd4

Browse files
committed
Add a not implemented in the backend message
1 parent fe23b22 commit 4fbadd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/frontend/src/pages/ballot/Show.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ const Ballot: FC = () => {
7979
throw new Error(txt);
8080
}
8181
const res = await response.json();
82-
setModalText(`${t('voteSuccess')} ${res.BallotID}`);
82+
const id = res.BallotID || 'Not Implemented Yet, see issue 240';
83+
setModalText(`${t('voteSuccess')} ${id}`);
8384
setModalTitle(t('voteSuccessful'));
8485
} catch (error) {
8586
if (error.message.includes('ECONNREFUSED')) {

0 commit comments

Comments
 (0)