Skip to content

Commit 865c5a2

Browse files
committed
Add Datatarget as allowed type in top-bar...
1 parent 0724906 commit 865c5a2

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/app/shared/components/top-bar/top-bar.component.ts

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
import { Component, OnInit, Input, Output, EventEmitter } from "@angular/core";
2-
import { TranslateService } from "@ngx-translate/core";
31
import { Location } from "@angular/common";
4-
import { Sort } from "@shared/models/sort.model";
2+
import { Component, EventEmitter, Input, OnInit, Output } from "@angular/core";
53
import { Router } from "@angular/router";
6-
import { faSearch, faChevronLeft, faUser, faQuestionCircle } from "@fortawesome/free-solid-svg-icons";
7-
import { Application } from "@applications/application.model";
8-
import { IotDevice } from "@applications/iot-devices/iot-device.model";
9-
import { BackButton } from "@shared/models/back-button.model";
10-
import { QuickActionButton } from "@shared/models/quick-action-button.model";
114
import { OrganisationResponse } from "@app/admin/organisation/organisation.model";
5+
import { PermissionResponse } from "@app/admin/permission/permission.model";
6+
import { UserResponse } from "@app/admin/users/user.model";
127
import { Gateway } from "@app/gateway/gateway.model";
8+
import { Application } from "@applications/application.model";
139
import { DatatargetResponse } from "@applications/datatarget/datatarget-response.model";
10+
import { Datatarget } from "@applications/datatarget/datatarget.model";
11+
import { IotDevice } from "@applications/iot-devices/iot-device.model";
12+
import { AuthService } from "@auth/auth.service";
13+
import { environment } from "@environments/environment";
14+
import { faChevronLeft, faQuestionCircle, faSearch, faUser } from "@fortawesome/free-solid-svg-icons";
15+
import { TranslateService } from "@ngx-translate/core";
1416
import { PayloadDecoder } from "@payload-decoder/payload-decoder.model";
15-
import { PermissionResponse } from "@app/admin/permission/permission.model";
16-
import { UserResponse } from "@app/admin/users/user.model";
17+
import { BackButton } from "@shared/models/back-button.model";
1718
import { DropdownButton } from "@shared/models/dropdown-button.model";
18-
import { SharedVariableService } from "@shared/shared-variable/shared-variable.service";
19-
import { AuthService } from "@auth/auth.service";
19+
import { QuickActionButton } from "@shared/models/quick-action-button.model";
20+
import { Sort } from "@shared/models/sort.model";
2021
import { LoggedInService } from "@shared/services/loggedin.service";
21-
import { environment } from "@environments/environment";
22+
import { SharedVariableService } from "@shared/shared-variable/shared-variable.service";
2223

2324
@Component({
2425
selector: "app-top-bar",
@@ -30,6 +31,7 @@ export class TopBarComponent implements OnInit {
3031
| Application
3132
| IotDevice
3233
| DatatargetResponse
34+
| Datatarget
3335
| PayloadDecoder
3436
| Gateway
3537
| PermissionResponse

0 commit comments

Comments
 (0)