We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d5e76a commit fdb7d9bCopy full SHA for fdb7d9b
src/Pages/GlobalConfigurations/Authorization/APITokens/ApiTokens.component.tsx
@@ -82,7 +82,7 @@ const ApiTokens = () => {
82
const _searchTextTrimmed = _searchText.trim()
83
const _filteredData = tokenList.filter(
84
(_tokenData) =>
85
- _tokenData.name.indexOf(_searchTextTrimmed) >= 0 || _tokenData.token.indexOf(_searchTextTrimmed) >= 0,
+ _tokenData.name.indexOf(_searchTextTrimmed) >= 0 || _tokenData?.token?.indexOf(_searchTextTrimmed) >= 0,
86
)
87
setFilteredTokenList(_filteredData)
88
setNoResults(_filteredData.length === 0)
0 commit comments