From d36f4cdf76b4118efcd4b4f3cc62ee7c733e924e Mon Sep 17 00:00:00 2001 From: Hugo Lextrait Date: Mon, 17 Apr 2023 15:46:45 +0200 Subject: [PATCH] :art: fix bugs --- .../Components/DesignSystem/Button/index.tsx | 2 + .../FolderBoxInformation/classes.module.scss | 15 +++- .../FolderBoxInformation/index.tsx | 2 +- .../DesignSystem/FolderContainer/index.tsx | 4 +- .../Elements/InputField/classes.module.scss | 40 ++++++++-- .../QuantityProgressBar/ProgressBar/index.tsx | 2 +- .../UserFolderHeader/classes.module.scss | 32 +++++++- .../DesignSystem/Version/classes.module.scss | 3 +- .../DefaultDoubleSidePage/classes.module.scss | 6 +- .../AddClientToFolder/classes.module.scss | 0 .../{ => Folder}/AddClientToFolder/index.tsx | 2 +- .../ClientSection/classes.module.scss | 7 +- .../FolderInformation/ClientSection/index.tsx | 15 +++- .../FolderInformation/classes.module.scss | 74 +++++++++++-------- .../{ => Folder}/FolderInformation/index.tsx | 8 +- src/pages/dossier/[uid]/ajouter-client.tsx | 2 +- src/pages/dossier/[uid]/index.tsx | 2 +- 17 files changed, 157 insertions(+), 59 deletions(-) rename src/front/Components/Layouts/{ => Folder}/AddClientToFolder/classes.module.scss (100%) rename src/front/Components/Layouts/{ => Folder}/AddClientToFolder/index.tsx (99%) rename src/front/Components/Layouts/{ => Folder}/FolderInformation/ClientSection/classes.module.scss (85%) rename src/front/Components/Layouts/{ => Folder}/FolderInformation/ClientSection/index.tsx (76%) rename src/front/Components/Layouts/{ => Folder}/FolderInformation/classes.module.scss (56%) rename src/front/Components/Layouts/{ => Folder}/FolderInformation/index.tsx (94%) diff --git a/src/front/Components/DesignSystem/Button/index.tsx b/src/front/Components/DesignSystem/Button/index.tsx index 1a5af191..f7f82637 100644 --- a/src/front/Components/DesignSystem/Button/index.tsx +++ b/src/front/Components/DesignSystem/Button/index.tsx @@ -38,6 +38,8 @@ export default function Button(props: IProps) { const attributes = { ...props, variant, disabled, type, isloading, fullwidth }; delete attributes.icon; + delete attributes.iconStyle; + delete attributes.iconPosition; return ( + + ) : (
- Aucun client n’est associé au dossier. + + Aucun client n’est associé au dossier. +
@@ -50,7 +52,7 @@ class FolderInformationClass extends BasePage {
- +
{this.doesFolderHaveCustomer() && } diff --git a/src/pages/dossier/[uid]/ajouter-client.tsx b/src/pages/dossier/[uid]/ajouter-client.tsx index cbc96d2b..ec9fb8e3 100644 --- a/src/pages/dossier/[uid]/ajouter-client.tsx +++ b/src/pages/dossier/[uid]/ajouter-client.tsx @@ -1,4 +1,4 @@ -import AddClientToFolder from "@Front/Components/Layouts/AddClientToFolder"; +import AddClientToFolder from "@Front/Components/Layouts/Folder/AddClientToFolder"; export default function Route() { return ; diff --git a/src/pages/dossier/[uid]/index.tsx b/src/pages/dossier/[uid]/index.tsx index ed68037c..2b6680d9 100644 --- a/src/pages/dossier/[uid]/index.tsx +++ b/src/pages/dossier/[uid]/index.tsx @@ -1,4 +1,4 @@ -import FolderInformation from "@Front/Components/Layouts/FolderInformation"; +import FolderInformation from "@Front/Components/Layouts/Folder/FolderInformation"; export default function Route() { return ;