Skip to content

Commit

Permalink
Change the workpackage not found description (#607)
Browse files Browse the repository at this point in the history
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
  • Loading branch information
SagarGi committed Apr 4, 2024
1 parent 7f715d0 commit de232e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tab/SearchInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default {
return t('integration_openproject', 'Start typing to search')
case NO_OPTION_TEXT_STATE.RESULT :
if (this.searchResults.length === 0) {
return t('integration_openproject', 'There were no workpackages found')
return t('integration_openproject', 'No matching work packages found')
}
break
}
Expand Down
2 changes: 1 addition & 1 deletion tests/jest/components/tab/SearchInput.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ describe('SearchInput.vue', () => {
'should set no option text to "There were no workpackages found" for search query not matched',
{
searchQuery: 'query-not-matched',
expectedNoOptionText: 'There were no workpackages found',
expectedNoOptionText: 'No matching work packages found',
},
],
])('%s', async (name, expectedDetails) => {
Expand Down

0 comments on commit de232e6

Please sign in to comment.