build fix
This commit is contained in:
parent
f0e73b62d2
commit
a9e8e8cddd
2 changed files with 4 additions and 3 deletions
|
|
@ -90,6 +90,10 @@ export interface AttributeDefinition {
|
|||
required?: boolean;
|
||||
default?: any;
|
||||
options?: any[] | string;
|
||||
/** Backend: FK label column (e.g. userId -> userIdLabel). */
|
||||
displayField?: string;
|
||||
frontendFormat?: string;
|
||||
frontendFormatLabels?: string[];
|
||||
readonly?: boolean;
|
||||
editable?: boolean;
|
||||
visible?: boolean;
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@ import { FormGeneratorForm, type AttributeDefinition } from '../../components/Fo
|
|||
import { FaPlus, FaSync, FaCube, FaBuilding, FaCogs, FaEdit } from 'react-icons/fa';
|
||||
import { useToast } from '../../contexts/ToastContext';
|
||||
import api from '../../api';
|
||||
import { useApiRequest } from '../../hooks/useApi';
|
||||
import { fetchAttributes } from '../../api/attributesApi';
|
||||
import { resolveColumnTypes } from '../../utils/columnTypeResolver';
|
||||
import type { ColumnConfig } from '../../components/FormGenerator/FormGeneratorTable';
|
||||
import { ChatbotConfigSection } from './ChatbotConfigSection';
|
||||
|
|
@ -46,7 +44,6 @@ export const AdminFeatureAccessPage: React.FC = () => {
|
|||
const { fetchMandates } = useUserMandates();
|
||||
const { showSuccess, showError } = useToast();
|
||||
const { loadFeatures } = useFeatureStore();
|
||||
const { request } = useApiRequest();
|
||||
|
||||
// State
|
||||
const [mandates, setMandates] = useState<Mandate[]>([]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue