From 660034702810baf89633d63e9db363abd12481d5 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 4 Jun 2020 09:46:59 +0300 Subject: [PATCH] Moved component tb-compact to shared module --- .../app/modules/home/components/home-components.module.ts | 3 --- .../home => shared}/components/contact.component.html | 0 .../home => shared}/components/contact.component.ts | 0 ui-ngx/src/app/shared/shared.module.ts | 7 +++++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename ui-ngx/src/app/{modules/home => shared}/components/contact.component.html (100%) rename ui-ngx/src/app/{modules/home => shared}/components/contact.component.ts (100%) diff --git a/ui-ngx/src/app/modules/home/components/home-components.module.ts b/ui-ngx/src/app/modules/home/components/home-components.module.ts index 8ae0c6c90a..d08f779ff5 100644 --- a/ui-ngx/src/app/modules/home/components/home-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/home-components.module.ts @@ -21,7 +21,6 @@ import { AddEntityDialogComponent } from '@home/components/entity/add-entity-dia import { EntitiesTableComponent } from '@home/components/entity/entities-table.component'; import { DetailsPanelComponent } from '@home/components/details-panel.component'; import { EntityDetailsPanelComponent } from '@home/components/entity/entity-details-panel.component'; -import { ContactComponent } from '@home/components/contact.component'; import { AuditLogDetailsDialogComponent } from '@home/components/audit-log/audit-log-details-dialog.component'; import { AuditLogTableComponent } from '@home/components/audit-log/audit-log-table.component'; import { EventTableHeaderComponent } from '@home/components/event/event-table-header.component'; @@ -74,7 +73,6 @@ import { SelectTargetStateDialogComponent } from '@home/components/dashboard/sel AddEntityDialogComponent, DetailsPanelComponent, EntityDetailsPanelComponent, - ContactComponent, AuditLogTableComponent, AuditLogDetailsDialogComponent, EventContentDialogComponent, @@ -126,7 +124,6 @@ import { SelectTargetStateDialogComponent } from '@home/components/dashboard/sel AddEntityDialogComponent, DetailsPanelComponent, EntityDetailsPanelComponent, - ContactComponent, AuditLogTableComponent, EventTableComponent, RelationTableComponent, diff --git a/ui-ngx/src/app/modules/home/components/contact.component.html b/ui-ngx/src/app/shared/components/contact.component.html similarity index 100% rename from ui-ngx/src/app/modules/home/components/contact.component.html rename to ui-ngx/src/app/shared/components/contact.component.html diff --git a/ui-ngx/src/app/modules/home/components/contact.component.ts b/ui-ngx/src/app/shared/components/contact.component.ts similarity index 100% rename from ui-ngx/src/app/modules/home/components/contact.component.ts rename to ui-ngx/src/app/shared/components/contact.component.ts diff --git a/ui-ngx/src/app/shared/shared.module.ts b/ui-ngx/src/app/shared/shared.module.ts index e55a39632b..ae2cf03542 100644 --- a/ui-ngx/src/app/shared/shared.module.ts +++ b/ui-ngx/src/app/shared/shared.module.ts @@ -133,6 +133,7 @@ import { JsonObjectEditDialogComponent } from '@shared/components/dialog/json-ob import { HistorySelectorComponent } from './components/time/history-selector/history-selector.component'; import { EntityGatewaySelectComponent } from '@shared/components/entity/entity-gateway-select.component'; import { QueueTypeListComponent } from '@shared/components/queue/queue-type-list.component'; +import { ContactComponent } from '@shared/components/contact.component'; @NgModule({ providers: [ @@ -218,7 +219,8 @@ import { QueueTypeListComponent } from '@shared/components/queue/queue-type-list TbJsonToStringDirective, JsonObjectEditDialogComponent, HistorySelectorComponent, - EntityGatewaySelectComponent + EntityGatewaySelectComponent, + ContactComponent ], imports: [ CommonModule, @@ -379,7 +381,8 @@ import { QueueTypeListComponent } from '@shared/components/queue/queue-type-list TranslateModule, JsonObjectEditDialogComponent, HistorySelectorComponent, - EntityGatewaySelectComponent + EntityGatewaySelectComponent, + ContactComponent ] }) export class SharedModule { }