v1.0
- added task rendering instead of molecule - fied a lot of errors - changes experiment page to show generic experiment info
This commit is contained in:
@@ -56,7 +56,7 @@ function TeamPage() {
|
||||
addTeam(team);
|
||||
set_cur_team(team);
|
||||
set_team_name(team.name);
|
||||
set_team_descr(team.description);
|
||||
set_team_descr(team.description || "");
|
||||
set_is_loading(false);
|
||||
}
|
||||
});
|
||||
@@ -66,7 +66,7 @@ function TeamPage() {
|
||||
profile &&
|
||||
!is_loading
|
||||
) {
|
||||
getTeamSystems(Number(team_id), cur_page, 9 )
|
||||
getTeamSystems(Number(team_id), cur_page, 9)
|
||||
.then((systems) => {
|
||||
if (systems) {
|
||||
set_machines(systems);
|
||||
@@ -210,8 +210,8 @@ function TeamPage() {
|
||||
cur_team?.description == team_descr
|
||||
}
|
||||
onClick={() => {
|
||||
set_team_name(cur_team?.name);
|
||||
set_team_descr(cur_team?.description);
|
||||
set_team_name(cur_team?.name || "");
|
||||
set_team_descr(cur_team?.description || "");
|
||||
}}
|
||||
/>
|
||||
</Grid.Col>
|
||||
@@ -252,7 +252,7 @@ function TeamPage() {
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
{!cur_team && !is_loading && (
|
||||
{!cur_team && !is_loading_this && (
|
||||
<Alert color="red">
|
||||
<Center>
|
||||
{" "}
|
||||
|
||||
Reference in New Issue
Block a user