We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e97a5f commit 3a6ab20Copy full SHA for 3a6ab20
web/frontend/src/pages/election/Show.tsx
@@ -234,7 +234,9 @@ const ElectionShow: FC = () => {
234
<div className="py-4 pl-2 pb-8">
235
<div className="font-bold uppercase text-lg text-gray-700 pb-2">{t('action')}</div>
236
<div className="px-2">
237
- {DKGLoading && <LoadingButton>{t('actionLoading')}</LoadingButton>}{' '}
+ {DKGLoading && ongoingAction === OngoingAction.None && (
238
+ <LoadingButton>{t('actionLoading')}</LoadingButton>
239
+ )}{' '}
240
{(!DKGLoading || ongoingAction !== OngoingAction.None) && (
241
<Action
242
status={status}
0 commit comments