diff --git a/src/front/Components/Layouts/Folder/CreateFolder/index.tsx b/src/front/Components/Layouts/Folder/CreateFolder/index.tsx index 7a68556f..b86710e0 100644 --- a/src/front/Components/Layouts/Folder/CreateFolder/index.tsx +++ b/src/front/Components/Layouts/Folder/CreateFolder/index.tsx @@ -101,7 +101,7 @@ export default function CreateFolder(): JSX.Element { */ useEffect(() => { DeedTypes.getInstance() - .get() + .get({ where: { archived_at: null } }) .then((deedTypes) => setAvailableDeedTypes(deedTypes)); // no need to pass query 'where' param here, default query for notaries include only users which are in the same office as the caller Users.getInstance()