Projekt

Obecné

Profil

« Předchozí | Další » 

Revize cbb91c90

Přidáno uživatelem Jakub Hlaváč před téměř 4 roky(ů)

Re #8915 - Zapracování požadavků ze schůzky

+ sensor edit under edit button in menu
  • request for sensor data only for first time, then after button click
    + sensor group names
    + adding information to unit and sensor
    + commenting
    + code refactor

Zobrazit rozdíly:

src/app/app-routing.module.ts
4 4
import {DashboardComponent} from './dashboard/components/dashboard.component';
5 5
import {AuthGuard} from './auth/guards/auth.guard';
6 6
import {RoleGuard} from './auth/guards/role.guard';
7
import {AdministrationComponent} from './administration/components/administration.component';
8 7
import {SensorComponent} from './sensor/components/sensor.component';
9 8
import {UnitComponent} from './unit/components/unit.component';
10 9

  
......
35 34
      expectedRole: ['1', '0']
36 35
    }
37 36
  }, {
38
    canActivate: [AuthGuard, RoleGuard],
39
    path: 'administration',
40
    component: AdministrationComponent,
41
    pathMatch: 'full',
42
    data: {
43
      expectedRole: ['0']
44
    }
45
  },{
46 37
    path: 'login',
47 38
    component: LoginComponent,
48 39
    pathMatch: 'full',

Také k dispozici: Unified diff