@@ -8,14 +8,14 @@ import { ThemeContext } from 'Context/theme/themeContext'
8
8
import getThemeColor from 'Context/theme/config'
9
9
import TablePagination from '@mui/material/TablePagination' ;
10
10
import Paper from '@mui/material/Paper' ;
11
- import { getAgama , deleteAgama , addAgama } from '../.. /redux/features/agamaSlice'
11
+ import { getAgama , deleteAgama , addAgama } from 'Plugins/auth-server /redux/features/agamaSlice'
12
12
import { hasPermission , AGAMA_READ , AGAMA_WRITE } from 'Utils/PermChecker'
13
- import GluuViewWrapper from '../../../../app/routes /Apps/Gluu/GluuViewWrapper'
13
+ import GluuViewWrapper from 'Routes /Apps/Gluu/GluuViewWrapper'
14
14
import MaterialTable from '@material-table/core'
15
15
import { Button , Modal , ModalBody , ModalFooter , ModalHeader } from 'reactstrap'
16
16
import { useDropzone } from 'react-dropzone'
17
17
import JSZip from 'jszip'
18
- import { AGAMA_DELETE } from '../../../../app/utils /PermChecker'
18
+ import { AGAMA_DELETE } from 'Utils /PermChecker'
19
19
import CircularProgress from '@mui/material/CircularProgress'
20
20
import InfoIcon from '@mui/icons-material/Info' ;
21
21
import AgamaProjectConfigModal from './AgamaProjectConfigModal'
@@ -179,14 +179,14 @@ function AgamaListPage() {
179
179
let startCount = page * limit
180
180
options [ 'startIndex' ] = parseInt ( startCount )
181
181
options [ 'limit' ] = limit
182
- options [ 'pattern' ] = pattern
182
+ options [ 'pattern' ] = null
183
183
setPageNumber ( page )
184
184
dispatch ( getAgama ( options ) )
185
185
}
186
186
187
187
const onRowCountChangeClick = ( count ) => {
188
188
options [ 'limit' ] = count
189
- options [ 'pattern' ] = pattern
189
+ options [ 'pattern' ] = null
190
190
setPageNumber ( 0 )
191
191
setLimit ( count )
192
192
dispatch ( getAgama ( options ) )
0 commit comments