-
Notifications ({notifications.length})
-
setSearchInput(e.target.value)}
- placeholder="Type to search"
- disabled={notifications.length === 0}
- />
+
+ Notifications ({notifications.length})
+
+
+
+ setSearchInput(e.target.value)}
+ placeholder="Type to search"
+ disabled={notifications.length === 0}
+ />
+
diff --git a/src/components/Organizations/Projects/Styles.tsx b/src/components/Organizations/Projects/Styles.tsx
index a8ec3e21..b60467b2 100644
--- a/src/components/Organizations/Projects/Styles.tsx
+++ b/src/components/Organizations/Projects/Styles.tsx
@@ -157,7 +157,29 @@ export const OrgProjectWrapper = styled.div`
padding-inline: 12px;
display: flex;
flex-direction: column;
-
+ .tableheader {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 30px;
+ label {
+ font-weight: 600;
+ }
+ .icon {
+ transform: translateY(6px);
+ }
+ input {
+ height: 40px;
+ min-width: 290px;
+ font-size: 0.95rem;
+ &::placeholder {
+ color: ${props => (props.theme.colorScheme === 'dark' ? '#fff' : '#5f6f7a')};
+ line-height: 20px;
+ font-size: 0.95rem;
+ font-weight: 500;
+ }
+ }
+ }
.rightside-button {
display: flex;
justify-content: flex-end;
diff --git a/src/components/Organizations/User/index.tsx b/src/components/Organizations/User/index.tsx
index e86be134..fc210da2 100644
--- a/src/components/Organizations/User/index.tsx
+++ b/src/components/Organizations/User/index.tsx
@@ -339,6 +339,7 @@ const User: FC = ({ user, organizationName, organizationId, refetch,
emptyText="No groups"
defaultViewOptions={{
selected: false,
+ selectedOnZeroCount: true,
type: 'group',
}}
/>
diff --git a/src/components/Organizations/Users/index.js b/src/components/Organizations/Users/index.js
index e3579f8c..641f5d7d 100644
--- a/src/components/Organizations/Users/index.js
+++ b/src/components/Organizations/Users/index.js
@@ -36,7 +36,6 @@ const DELETE_USER = gql`
* The primary list of users.
*/
const Users = ({ users = [], organization, organizationId, organizationName, refetch, orgFriendlyName }) => {
- const [userModalOpen, setUserModalOpen] = useState(false);
const [selectedUser, setSelectedUser] = useState('');
const [addUserModalOpen, setAddUserModalOpen] = useState(false);
@@ -52,7 +51,6 @@ const Users = ({ users = [], organization, organizationId, organizationName, ref
const closeUserModal = () => {
setSelectedUser('');
- setUserModalOpen(false);
};
useEffect(() => {
@@ -202,6 +200,7 @@ const Users = ({ users = [], organization, organizationId, organizationName, ref
defaultViewOptions={{
type: 'user',
selected: false,
+ selectedOnZeroCount: true,
}}
labelText="Users"
emptyText="No Users"