add clan in table

This commit is contained in:
Firesieht 2022-10-09 02:31:30 +03:00
parent fa344c09e4
commit 03e7393ab8
7 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
.addProduct{ .addProduct{
padding-top: 200px; padding-top: 200px;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%); background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%);
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -19,7 +19,7 @@
.market{ .market{
padding-top: 200px; padding-top: 200px;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%); background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%);
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -1,7 +1,7 @@
.changeProduct{ .changeProduct{
padding-top: 200px; padding-top: 200px;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%); background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%);
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -1,7 +1,7 @@
.userCard{ .userCard{
padding-top: 200px; padding-top: 200px;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%); background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%);
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -142,6 +142,7 @@ export const UserTable:React.FC = () =>{
respect: user.respect, respect: user.respect,
balance: user.salary, balance: user.salary,
jobTittle: user.department, jobTittle: user.department,
clan: user.clan_name
}) as EmployerIE )))) }) as EmployerIE ))))
}) })
adminFetcher.get("season/clans/").then((response:any)=>{ adminFetcher.get("season/clans/").then((response:any)=>{
@ -168,7 +169,7 @@ export const UserTable:React.FC = () =>{
{ {
name: user.name, name: user.name,
balance: user.balance, balance: user.balance,
command: user.command, command: user.clan,
speciality: user.jobTittle, speciality: user.jobTittle,
key: user.telegramID, key: user.telegramID,
telegram: user.telegramID, telegram: user.telegramID,

View File

@ -1,7 +1,7 @@
.userTable{ .userTable{
padding-top: 200px; padding-top: 200px;
width: 100%; width: 100%;
height: 100vh; min-height: 100vh;
background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%); background: linear-gradient(85.91deg, #096DD9 0%, #40A9FF 100%);
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -26,6 +26,7 @@ export interface EmployerIE extends UserIE{
respect: number, respect: number,
telegramID: string, telegramID: string,
command: string, command: string,
clan:string
} }