mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
Merge branch 'main' of https://github.com/IRBorisov/ConceptPortal
This commit is contained in:
commit
a669f70efc
|
@ -54,7 +54,6 @@
|
|||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-react": "^7.33.0",
|
||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"typescript": "^5.1.6"
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { IRSForm } from '../../utils/models'
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useMemo } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
import DataTableThemed from '../../components/Common/DataTableThemed';
|
||||
import { useUsers } from '../../context/UsersContext';
|
||||
|
||||
import { type IRSForm } from '../../utils/models'
|
||||
|
||||
interface RSFormsTableProps {
|
||||
schemas: IRSForm[]
|
||||
|
@ -40,7 +40,7 @@ function RSFormsTable({ schemas }: RSFormsTableProps) {
|
|||
{
|
||||
name: 'Владелец',
|
||||
id: 'owner',
|
||||
selector: (schema: IRSForm) => schema.owner || 0,
|
||||
selector: (schema: IRSForm) => schema.owner ?? 0,
|
||||
format: (schema: IRSForm) => {
|
||||
return getUserLabel(schema.owner);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user