Skip to content

Commit

Permalink
fix: Revert unnecessary changes and fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Dec 6, 2024
1 parent 91cb0c6 commit 420e5e5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {HTTP_INTERCEPTORS, provideHttpClient, withFetch, withInterceptorsFromDi} from '@angular/common/http';
import {APP_INITIALIZER, isDevMode, NgModule} from '@angular/core';
import {APP_INITIALIZER, NgModule} from '@angular/core';
import {ReactiveFormsModule} from '@angular/forms';
import {BrowserModule, provideClientHydration} from '@angular/platform-browser';
import {ServiceWorkerModule} from '@angular/service-worker';
Expand Down Expand Up @@ -45,7 +45,7 @@ function initializeKeycloak(keycloak: KeycloakService) {
LegalModule,
CoreModule,
ServiceWorkerModule.register('ngsw-worker.js', {
enabled: true,
enabled: true, // always enabled, for push notifications
// Register the ServiceWorker as soon as the application is stable
// or after 30 seconds (whichever comes first).
registrationStrategy: 'registerWhenStable:30000',
Expand Down
20 changes: 10 additions & 10 deletions apps/frontend/src/app/settings/settings.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {FormsModule as NgbxFormsModule} from '@mean-stream/ngbx';
import {NgbTooltip} from '@ng-bootstrap/ng-bootstrap';

import {SettingsComponent} from './settings/settings.component';
import {SettingsRoutingModule} from './settings-routing.module';
import {TokenComponent} from './token/token.component';
import {CoreModule} from '../core/core.module';
import {NgbTooltip} from '@ng-bootstrap/ng-bootstrap';

@NgModule({
declarations: [
SettingsComponent,
TokenComponent,
],
imports: [
CommonModule,
SettingsRoutingModule,
ReactiveFormsModule,
CoreModule,
FormsModule,
NgbxFormsModule,
NgbTooltip,
],
imports: [
CommonModule,
SettingsRoutingModule,
ReactiveFormsModule,
CoreModule,
FormsModule,
NgbxFormsModule,
NgbTooltip,
],
})
export class SettingsModule {
}
3 changes: 1 addition & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"paths": {
"@apollusia/logic": ["libs/types/src/lib/logic/index.ts"],
"@apollusia/types": ["libs/types/src/index.ts"],
"@apollusia/types/*": ["libs/types/src/*"],
"types2": ["libs/types2/src/index.ts"]
"@apollusia/types/*": ["libs/types/src/*"]
}
},
"exclude": ["node_modules", "tmp"]
Expand Down

0 comments on commit 420e5e5

Please sign in to comment.