From d1a8ca29090fb0c1a33d976b8981e7f2069c1508 Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 17 May 2022 04:19:59 -0500 Subject: [PATCH] create channel form --- .../protected/terminal/panels/MainPanel.tsx | 116 +++++++++--------- 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx b/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx index 85fb240..5529faf 100644 --- a/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx +++ b/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx @@ -101,41 +101,67 @@ function LineDetails() { const [peopleSearch, setPeopleSearch] = useState(''); - return ( -
-
- {/* people search */} - People -
+
+ {/* people search */} + People +
- - setPeopleSearch(e.target.value)} - value={peopleSearch} - /> -
+ > + + setPeopleSearch(e.target.value)} + value={peopleSearch} + /> +
- {/* dropdown search results */} -
- {selectedLine.otherUserObjects.map((otherUser) => { - return ( -
+ {selectedLine.otherUserObjects.map((otherUser) => { + return ( +
- - - {otherUser.name} - {otherUser.email} - -
- ); - })} + > + + + {otherUser.name} + {otherUser.email} + +
+ ); + })} + + {selectedLine.otherUserObjects.map((otherUser) => { + return ( +
+ + + {otherUser.name} + {otherUser.email} + +
+ ); + })} +
+ + {/* selected people */} + + {`Selected`} + + {selectedLine.otherMembers.length}/7 + {selectedLine.otherUserObjects.map((otherUser) => { return ( @@ -153,32 +179,8 @@ function LineDetails() { ); })}
- - {/* selected people */} - - {`Selected`} - - {selectedLine.otherMembers.length}/7 - - - {selectedLine.otherUserObjects.map((otherUser) => { - return ( -
- - - {otherUser.name} - {otherUser.email} - -
- ); - })}
-
- ); + ); return (