Créer/modifier/rejoindre/quitter un groupe de travail

This commit is contained in:
2020-07-22 22:25:03 +02:00
parent bc9aa1721a
commit 4a340529da
13 changed files with 403 additions and 34 deletions

View File

@ -12,7 +12,7 @@ export function HomePage() {
return (
<Page title={userProfile ? 'Tableau de bord' : 'Accueil'}>
<div className="container is-fluid">
<section className="section">
<section className="mt-5">
<WithLoader loading={loading}>
{
userProfile ?

View File

@ -34,9 +34,8 @@ export function WorkgroupsPanel() {
const selectTab = (tabIndex: number) => {
setState(state => ({ ...state, selectedTab: tabIndex }));
}
};
let workgroupsItems = [];
workgroupsItems = filterTabs[state.selectedTab].filter(workgroups || []).map((wg: Workgroup) => {
@ -52,7 +51,7 @@ export function WorkgroupsPanel() {
return (
<nav className="panel is-info">
<div className="level panel-heading">
<div className="level panel-heading mb-0">
<div className="level-left">
<p className="level-item">
Groupes de travail