From 48dfe74aedceb64d7b3f9a239898fcc863024c83 Mon Sep 17 00:00:00 2001 From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Date: Wed, 8 Dec 2021 16:09:29 -0800 Subject: [PATCH] Fix Console Warnings on Browser (#1306) * Fixed issues with broken styles * Fix Merge Conflicts Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> * some tweaks Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> --- portal-ui/src/common/BackLink.tsx | 5 +-- .../src/screens/Console/Account/Account.tsx | 2 +- .../Console/Account/AddServiceAccount.tsx | 2 -- .../Buckets/ListBuckets/ListBuckets.tsx | 15 ++++++-- .../Objects/ListObjects/ListObjects.tsx | 10 ++++-- .../CSVMultiSelector/CSVMultiSelector.tsx | 36 +++++++++++-------- .../FileSelector/FileSelector.tsx | 24 ++++--------- .../FormSwitchWrapper/FormSwitchWrapper.tsx | 5 +++ .../FormComponents/common/styleLibrary.ts | 7 ++-- .../Common/ModalWrapper/ConfirmDialog.tsx | 6 +++- .../Common/ScreenTitle/ScreenTitle.tsx | 8 ++++- .../src/screens/Console/Common/SearchBox.tsx | 5 ++- .../AddTierConfiguration.tsx | 1 - .../ListTiersConfiguration.tsx | 2 +- .../UpdateTierCredentialsModal.tsx | 1 - .../src/screens/Console/Groups/AddGroup.tsx | 1 - .../screens/Console/Groups/AddGroupMember.tsx | 6 +--- .../Console/Groups/GroupDetailsHeader.tsx | 35 ++++++++++++++++++ .../src/screens/Console/Groups/Groups.tsx | 6 +--- .../screens/Console/Groups/GroupsDetails.tsx | 28 +++------------ portal-ui/src/screens/Console/Heal/Heal.tsx | 3 -- .../Console/Logs/LogSearch/LogsSearchMain.tsx | 7 ---- .../ConfTargetGeneric.tsx | 4 --- .../CustomForms/ResetConfigurationModal.tsx | 6 +++- .../ListNotificationEndpoints.tsx | 10 ++++-- .../NotificationTypeSelector.tsx | 2 +- .../screens/Console/Policies/ListPolicies.tsx | 2 +- .../Console/Policies/PolicyDetails.tsx | 6 +--- .../Console/Policies/PolicySelectors.tsx | 1 + .../screens/Console/Policies/SetPolicy.tsx | 2 -- .../Tenants/AddTenant/Steps/Affinity.tsx | 1 - .../Tenants/AddTenant/Steps/Configure.tsx | 22 ------------ .../Tenants/AddTenant/Steps/Encryption.tsx | 8 ----- .../AddTenant/Steps/IdentityProvider.tsx | 14 -------- .../Tenants/AddTenant/Steps/Images.tsx | 12 ------- .../Tenants/AddTenant/Steps/NameTenant.tsx | 3 -- .../Tenants/AddTenant/Steps/Security.tsx | 3 -- .../Tenants/AddTenant/Steps/TenantSize.tsx | 6 ---- .../Steps/helpers/AddNamespaceModal.tsx | 6 +++- portal-ui/src/screens/Console/Trace/Trace.tsx | 6 ---- .../Console/Users/AddUserServiceAccount.tsx | 2 -- .../Console/Users/ChangeUserGroups.tsx | 1 - .../src/screens/Console/Users/ListUsers.tsx | 2 +- .../src/screens/Console/Users/UserDetails.tsx | 1 - 44 files changed, 139 insertions(+), 196 deletions(-) create mode 100644 portal-ui/src/screens/Console/Groups/GroupDetailsHeader.tsx diff --git a/portal-ui/src/common/BackLink.tsx b/portal-ui/src/common/BackLink.tsx index 668d399d0..74dca0006 100644 --- a/portal-ui/src/common/BackLink.tsx +++ b/portal-ui/src/common/BackLink.tsx @@ -47,11 +47,12 @@ interface IBackLink { classes: any; to: string; label: string; + className?: any; } -const BackLink = ({ to, label, classes }: IBackLink) => { +const BackLink = ({ to, label, classes, className }: IBackLink) => { return ( - +
diff --git a/portal-ui/src/screens/Console/Account/Account.tsx b/portal-ui/src/screens/Console/Account/Account.tsx index 1fbc6277f..eba0c5fb1 100644 --- a/portal-ui/src/screens/Console/Account/Account.tsx +++ b/portal-ui/src/screens/Console/Account/Account.tsx @@ -215,7 +215,7 @@ const Account = ({