diff --git a/apps/frontend/src/components/new-launch/manage.modal.tsx b/apps/frontend/src/components/new-launch/manage.modal.tsx index ca4e5a3c..8d1f9708 100644 --- a/apps/frontend/src/components/new-launch/manage.modal.tsx +++ b/apps/frontend/src/components/new-launch/manage.modal.tsx @@ -105,7 +105,19 @@ export const ManageModal: FC = (props) => { const currentIntegrationText = useMemo(() => { if (current === 'global') { - return ''; + return ( +
+
+ +
+
+ Settings +
+
+ ); } const currentIntegration = integrations.find((p) => p.id === current)!; @@ -425,8 +437,8 @@ export const ManageModal: FC = (props) => {
@@ -436,11 +448,11 @@ export const ManageModal: FC = (props) => { id="wrapper-settings" className={clsx( 'pb-[20px] px-[20px] select-none', - current === 'global' && 'hidden', - showSettings && 'flex-1 flex pt-[20px]' + showSettings && 'flex-1 flex pt-[20px]', + current === 'global' && 'hidden' )} > -
+
setShowSettings(!showSettings)} className={clsx( @@ -465,9 +477,10 @@ export const ManageModal: FC = (props) => { )} >
+ className="absolute left-0 top-0 w-full h-full flex flex-col overflow-x-hidden overflow-y-auto scrollbar scrollbar-thumb-newBgColorInner scrollbar-track-newColColor" + > +
+
+ )} + {isGlobal && ( +
+
+ {selectedIntegration?.integration.name!} + {selectedIntegration?.integration.identifier} +
+
{selectedIntegration?.integration.name}
+
+ )} {!!data?.internalPlugs?.length && !dummy && ( )}
, - document.querySelector('#social-settings') || document.createElement('div') + document.querySelector('#social-settings') || + document.createElement('div') )} {current && !SettingsComponent && createPortal( , - document.querySelector('#social-settings') || document.createElement('div') + document.querySelector('#social-settings') || + document.createElement('div') )}