Skip to content

Commit

Permalink
NAS-128451: Port WidgetSysInfoComponent to new dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
denysbutenko committed May 16, 2024
1 parent 7a3e378 commit 487a60a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { selectUpdateJobForActiveNode } from 'app/modules/jobs/store/job.selecto
import { WidgetResourcesService } from 'app/pages/dashboard/services/widget-resources.service';
import { SlotSize } from 'app/pages/dashboard/types/widget.interface';
import { ProductImageComponent } from 'app/pages/dashboard/widgets/system/common/product-image/product-image.component';
import { UptimePipe } from 'app/pages/dashboard/widgets/system/common/uptime.pipe';
import { WidgetSysInfoActiveComponent } from 'app/pages/dashboard/widgets/system/widget-sys-info-active/widget-sys-info-active.component';
import { selectIsHaLicensed, selectIsHaEnabled } from 'app/store/ha-info/ha-info.selectors';
import {
Expand Down Expand Up @@ -56,6 +57,7 @@ describe('WidgetSysInfoActiveComponent', () => {
imports: [
MatListModule,
MatIconTestingModule,
UptimePipe,
],
declarations: [
MockComponent(ProductImageComponent),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { selectUpdateJobForPassiveNode } from 'app/modules/jobs/store/job.select
import { WidgetResourcesService } from 'app/pages/dashboard/services/widget-resources.service';
import { SlotSize } from 'app/pages/dashboard/types/widget.interface';
import { ProductImageComponent } from 'app/pages/dashboard/widgets/system/common/product-image/product-image.component';
import { UptimePipe } from 'app/pages/dashboard/widgets/system/common/uptime.pipe';
import { WidgetSysInfoPassiveComponent } from 'app/pages/dashboard/widgets/system/widget-sys-info-passive/widget-sys-info-passive.component';
import { selectCanFailover, selectIsHaEnabled, selectIsHaLicensed } from 'app/store/ha-info/ha-info.selectors';
import {
Expand Down Expand Up @@ -61,6 +62,7 @@ describe('WidgetSysInfoPassiveComponent', () => {
imports: [
MatListModule,
MatIconTestingModule,
UptimePipe,
],
declarations: [
MockComponent(ProductImageComponent),
Expand Down

0 comments on commit 487a60a

Please sign in to comment.