Skip to content

Commit

Permalink
update(console): use current project data as default tree selector
Browse files Browse the repository at this point in the history
  • Loading branch information
waynelwz committed Oct 25, 2023
1 parent d66ebaa commit 302edc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function useGridQuery() {
const trace = useTrace('grid-table-user-grid-query')
const { queries, onCurrentViewQueriesChange: onChange } = useStore(selector, shallow)
const { originalColumns } = useGirdData()
const [isSimpleQuery, setIsSimpleQuery] = React.useState(false)
const [isSimpleQuery, setIsSimpleQuery] = React.useState(true)
const [t] = useTranslation()

const hasFilter = React.useMemo(() => {
Expand Down
2 changes: 1 addition & 1 deletion console/src/components/QuickGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export enum QuickGroupEnum {

function QuickGroup({
filters = [],
value = QuickGroupEnum.all,
value = QuickGroupEnum.current,
options = [],
onChange,
}: {
Expand Down

0 comments on commit 302edc1

Please sign in to comment.