Browse Source

add grade

master
drfelfel 1 year ago
parent
commit
d9d05054fd
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      src/routes/panel/volunteer/table/table.component.ts

+ 5
- 3
src/routes/panel/volunteer/table/table.component.ts View File

@ -11,7 +11,7 @@ import * as moment from 'jalali-moment'
})
export class TableComponent implements OnInit {
public columns: string[] = ['position', 'uid', 'firstname', 'lastname', 'fathername', 'major', 'grade', 'nationalcode','entrynumber','waiting', 'step', 'done', 'options'];
public columns: string[] = ['position', 'uid', 'firstname', 'lastname', 'fathername', 'major', 'grade', 'nationalcode', 'entrynumber', 'waiting', 'step', 'done', 'options'];
public data: MatTableDataSource<object> = new MatTableDataSource<object>();
public loading: boolean = false;
public search: string = '';
@ -25,7 +25,7 @@ export class TableComponent implements OnInit {
public sort = 'nationalcode'
public sortDirection = 'asc'
uid = ""
uid = ""
univeristygroups: any[] = [
{
@ -50,6 +50,8 @@ export class TableComponent implements OnInit {
ngOnInit(): void {
this.uid = this.rayconnect.user.uid
this.rayconnect.Query({
scope: "kateb",
address: "volunteers/live",
@ -116,7 +118,7 @@ export class TableComponent implements OnInit {
subscribe() {
this.Get({vol:1})
this.Get({ vol: 1 })
/*this.rayconnect.RequestBack({
scope: 'kateb',
uniqueID: 'profile',

Loading…
Cancel
Save