Skip to content

Commit

Permalink
mod: allow clear space filter (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored Sep 14, 2023
1 parent c7df4ac commit 1b0c2ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/pages/Import/TaskList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ const TaskList = () => {
<span className={styles.label}>{intl.get('common.currentSpace')}</span>
<Select
showSearch
allowClear
style={{ minWidth: 200 }}
value={filter.space}
placeholder={intl.get('console.selectSpace')}
Expand Down
1 change: 0 additions & 1 deletion app/pages/Schema/SchemaConfig/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const SchemaConfig = () => {
useEffect(() => {
const params = new URLSearchParams(location.search);
const space = params.get('space');
console.log('hereeeeee');
if (space) {
switchSpace(space);
}
Expand Down

0 comments on commit 1b0c2ab

Please sign in to comment.