File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
pages/Bugs/Content/BugsTable Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 145145 "__BUGS_PAGE_USECASE_COMPLETION_3_TOOLTIP" : " Stiamo facendo gli ultimi controlli sullo Use Case" ,
146146 "__BUGS_PAGE_USECASE_COMPLETION_4" : " <0>Use case <1>completato</1></0>" ,
147147 "__BUGS_PAGE_USECASE_COMPLETION_4_TOOLTIP" : " Siamo pronti con lo Use Case: analizza tutti i bug raccolti" ,
148+ "__BUGS_PAGE_NO_USECASE" : " Non un caso d'uso specifico" ,
148149 "__BUGS_PAGE_VIEW_BUG_TOOLTIP" : " Apri il bug" ,
149150 "__BUGS_PAGE_WARNING_POSSIBLE_EMPTY_CASES" : " Al momento non abbiamo trovato bug in altri Use Case oppure il test non prevede altri Use Case" ,
150151 "__BUGS_READ_FILTER_ITEM_ALL" : " Tutti i bug" ,
Original file line number Diff line number Diff line change @@ -49,12 +49,18 @@ export const BugsByUsecase = ({
4949 key = { item . useCase . id }
5050 title = {
5151 < >
52- { item . useCase . title . full }
52+ { item . useCase ?. id === - 1
53+ ? t ( '__BUGS_PAGE_NO_USECASE' , 'Not a specific use case' )
54+ : item . useCase . title . full }
5355 < MD tag = "span" > { ` (${ item . bugs . length } )` } </ MD >
5456 </ >
5557 }
5658 item = { item }
57- footer = { < CompletionTooltip percentage = { item . useCase . completion } /> }
59+ footer = {
60+ item . useCase ?. id !== - 1 && (
61+ < CompletionTooltip percentage = { item . useCase . completion } />
62+ )
63+ }
5864 />
5965 ) ) }
6066 { isDefaultView ? (
You can’t perform that action at this time.
0 commit comments