mirror of
https://github.com/bakhirev/assayo.git
synced 2026-04-30 04:29:54 +00:00
update
This commit is contained in:
parent
72fdaed4e3
commit
03d649ba31
8 changed files with 33 additions and 27 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import ICommit from 'ts/interfaces/Commit';
|
||||
import { Gap, Title } from 'ts/components/Layout';
|
||||
import { If, Gap, Title } from 'ts/components/Layout';
|
||||
import { FakeDataLoader, Pagination } from 'ts/components/DataLoader';
|
||||
import statisticStore from 'ts/store/Statistics';
|
||||
|
||||
|
|
@ -44,23 +44,27 @@ function CalculatorDetails({
|
|||
<Title title="plugin.team_scope.details.charts" />
|
||||
<PieCharts scope={scope} />
|
||||
|
||||
<Title title="plugin.team_scope.details.tasks" />
|
||||
<FakeDataLoader
|
||||
content={tasks}
|
||||
watch={hash}
|
||||
>
|
||||
<Tasks />
|
||||
<Pagination/>
|
||||
</FakeDataLoader>
|
||||
<If value={tasks}>
|
||||
<Title title="plugin.team_scope.details.tasks" />
|
||||
<FakeDataLoader
|
||||
content={tasks}
|
||||
watch={hash}
|
||||
>
|
||||
<Tasks />
|
||||
<Pagination/>
|
||||
</FakeDataLoader>
|
||||
</If>
|
||||
|
||||
<Title title="plugin.team_scope.details.commits" />
|
||||
<FakeDataLoader
|
||||
content={commits}
|
||||
watch={hash}
|
||||
>
|
||||
<Commits />
|
||||
<Pagination/>
|
||||
</FakeDataLoader>
|
||||
<If value={commits}>
|
||||
<Title title="plugin.team_scope.details.commits" />
|
||||
<FakeDataLoader
|
||||
content={commits}
|
||||
watch={hash}
|
||||
>
|
||||
<Commits />
|
||||
<Pagination/>
|
||||
</FakeDataLoader>
|
||||
</If>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue