File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ public function getQuestion(): TranslatableMarkup {
6464
6565 $ webformId = $ this ->helper ->getWebformIdFromQueue ($ job ->getId ());
6666
67- if (NULL !== $ webformId ) {
67+ if (NULL === $ webformId ) {
68+ return $ this ->t ('Are you sure you want to retry queue job: @jobId ' , ['@jobId ' => $ job ->getId ()]);
69+ }
70+ else {
6871 return $ this ->t ('Are you sure you want to retry queue job related to Webform: @webformId, Submission id: @serialId ' , [
6972 '@serialId ' => $ this ->helper ->getSubmissionSerialIdFromJob ($ job ->getId ()),
7073 '@webformId ' => $ this ->entityTypeManager ->getStorage ('webform ' )->load ($ webformId )->label (),
7174 ]);
7275 }
73- else {
74- return $ this ->t ('Are you sure you want to retry queue job: @jobId ' , ['@jobId ' => $ job ->getId ()]);
75- }
7676 }
7777
7878 /**
You can’t perform that action at this time.
0 commit comments