Skip to content

Commit

Permalink
rpcn-secret: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaristizabal committed Nov 26, 2024
1 parent d03be2e commit b329bba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RpConnectSecretsList extends PageComponent {

const filteredSecrets = (rpcnSecretManagerApi.secrets ?? [])
.filter(u => {
const filter = uiSettings.rpncSecretList.quickSearch;
const filter = uiSettings.rpcnSecretList.quickSearch;
if (!filter) return true;
try {
const quickSearchRegExp = new RegExp(filter, 'i');
Expand All @@ -92,8 +92,8 @@ class RpConnectSecretsList extends PageComponent {
<Flex my={5} flexDir={'column'} gap={2}>
<CreateSecretButton/>
<SearchField width="350px"
searchText={uiSettings.rpncSecretList.quickSearch}
setSearchText={x => uiSettings.rpncSecretList.quickSearch = x}
searchText={uiSettings.rpcnSecretList.quickSearch}
setSearchText={x => uiSettings.rpcnSecretList.quickSearch = x}
placeholderText="Enter search term / regex..."
/>
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/state/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const defaultUiSettings = {
quickSearch: ''
},

rpncSecretList: {
rpcnSecretList: {
quickSearch: ''
},

Expand Down

0 comments on commit b329bba

Please sign in to comment.