Skip to content

Commit

Permalink
fix(admin-ui): fix pattern auto blank issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Jul 8, 2022
1 parent 394d090 commit 19cdbcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function AttributeListPage({ attributes, permissions, loading, dispatch }) {
const [item, setItem] = useState({})
const [modal, setModal] = useState(false)
const toggle = () => setModal(!modal)

function handleOptionsChange(event) {
if (event.target.name == 'limit') {
memoLimit = event.target.value
Expand Down Expand Up @@ -108,6 +107,7 @@ function AttributeListPage({ attributes, permissions, loading, dispatch }) {
<GluuAdvancedSearch
limitId={limitId}
limit={limit}
pattern={pattern}
patternId={patternId}
handler={handleOptionsChange}
/>
Expand Down

0 comments on commit 19cdbcb

Please sign in to comment.