chore(ui): clear shared prefer-inject bucket

Convert the shared layout shell and shared service constructors to field injection so the frontend shell matches the repo's Angular inject() guidance without changing behavior.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:49 -04:00
committed by Zach Yale
parent 68e3df7cde
commit b3fe4fd598
6 changed files with 30 additions and 31 deletions
@@ -1,4 +1,4 @@
import { Injectable } from '@angular/core';
import {inject, Injectable} from '@angular/core';
import {RxStomp, RxStompConfig} from '@stomp/rx-stomp';
import { AuthService } from '../service/auth.service';
import { createRxStompConfig } from './rx-stomp.config';
@@ -7,8 +7,9 @@ import { createRxStompConfig } from './rx-stomp.config';
providedIn: 'root',
})
export class RxStompService extends RxStomp {
private authService = inject(AuthService);
constructor(private authService: AuthService) {
constructor() {
super();
const stompConfig = createRxStompConfig(this.authService);
this.configure(stompConfig);