Skip to content

Commit

Permalink
fix: table issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Dec 18, 2023
1 parent c9731a6 commit 913e3c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/ui/src/components/MagnetarTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ import { useElementSize } from '@vueuse/core'
import { isAnyObject, isArray, isError, isPlainObject } from 'is-what'
import { computed, nextTick, onMounted, ref, watch } from 'vue'
import {
FiltersState,
FilterState,
FiltersState,
MUIColumn,
MUIFilter,
MUILabel,
muiLabelDic,
MUIPagination,
MUIParseLabel,
OPaths,
OrderByState,
muiLabelDic,
} from '../types'
import {
calcCollection,
carbonCopyMap,
filtersAndColumnsToInitialState,
filterStateToClauses,
filtersAndColumnsToInitialState,
getRequiredOrderByBasedOnFilters,
mapUnshift,
orderByStateToClauses,
Expand Down Expand Up @@ -157,9 +157,7 @@ function clearState(): void {
fetchMore()
}
const hasFetchLimit = computed<boolean>(
() => props.pagination.limit <= 0 || props.pagination.limit === Infinity
)
const hasFetchLimit = computed<boolean>(() => props.pagination.limit > 0)
const minH = ref(26)
const minW = ref(26)
const tableEl = ref(null)
Expand Down

0 comments on commit 913e3c6

Please sign in to comment.