Browse Source

Merge pull request #19450 from abpframework/sinan/add-networkstatus-to-appnolayers

Add `InternetConnectionStatusComponent` to the template
pull/19451/head
Masum ULU 3 years ago
committed by GitHub
parent
commit
3f28dbfb61
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      templates/app-nolayers/angular/src/app/app.component.ts
  2. 3
      templates/app-nolayers/angular/src/app/app.module.ts

1
templates/app-nolayers/angular/src/app/app.component.ts

@ -5,6 +5,7 @@ import { Component } from '@angular/core';
template: `
<abp-loader-bar></abp-loader-bar>
<abp-dynamic-layout></abp-dynamic-layout>
<abp-internet-status></abp-internet-status>
`,
})
export class AppComponent {}

3
templates/app-nolayers/angular/src/app/app.module.ts

@ -6,7 +6,7 @@ import { SettingManagementConfigModule } from '@abp/ng.setting-management/config
import { TenantManagementConfigModule } from '@abp/ng.tenant-management/config';
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x';
import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts';
import { ThemeSharedModule } from '@abp/ng.theme.shared';
import { InternetConnectionStatusComponent, ThemeSharedModule } from '@abp/ng.theme.shared';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@ -35,6 +35,7 @@ import { AbpOAuthModule } from '@abp/ng.oauth';
ThemeLeptonXModule.forRoot(),
SideMenuLayoutModule.forRoot(),
FeatureManagementModule.forRoot(),
InternetConnectionStatusComponent
],
declarations: [AppComponent],
providers: [APP_ROUTE_PROVIDER],

Loading…
Cancel
Save