This commit is contained in:
Dan Percic 2023-03-31 13:39:35 +03:00
parent 5c24018d12
commit 86b52a643a
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,9 @@ export interface QueryParam {
*/
export abstract class GenericService<I> {
protected readonly _http = inject(HttpClient);
protected readonly _lastCheckedForChanges = new Map<string, string>([[ROOT_CHANGES_KEY, new Date(Date.now() - LAST_CHECKED_OFFSET).toISOString()]]);
protected readonly _lastCheckedForChanges = new Map<string, string>([
[ROOT_CHANGES_KEY, new Date(Date.now() - LAST_CHECKED_OFFSET).toISOString()],
]);
protected abstract readonly _defaultModelPath: string;
get<T = I[]>(): Observable<T>;

View File

@ -7,7 +7,7 @@
margin-top: 32px;
> form > *{
> form > * {
padding: 8px;
}
}