Small fixes on annotation service client

This commit is contained in:
Thomas Georgios Giannos 2024-02-27 13:44:50 +02:00
parent 90bcc40dde
commit 141d6346fb
3 changed files with 4 additions and 3 deletions

View File

@ -25,4 +25,5 @@ export interface AnnotationFilter {
isActive: IsActive; isActive: IsActive;
entityIds: Guid[]; entityIds: Guid[];
entityTypes: string[]; entityTypes: string[];
anchors: string[];
} }

View File

@ -10,7 +10,7 @@ import { catchError } from "rxjs/operators";
@Injectable() @Injectable()
export class AnnotationService { export class AnnotationService {
private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}api/annotation`; } private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}/annotation`; }
constructor( constructor(
private installationConfiguration: ConfigurationService, private installationConfiguration: ConfigurationService,

View File

@ -120,12 +120,12 @@ export class ConfigurationService extends BaseComponent {
private _annotationServiceAddress: string; private _annotationServiceAddress: string;
get annotationServiceAddress(): string { get annotationServiceAddress(): string {
return this._notificationServiceAddress || './'; return this._annotationServiceAddress || './';
} }
private _annotationServiceEnabled: boolean; private _annotationServiceEnabled: boolean;
get annotationServiceEnabled(): boolean { get annotationServiceEnabled(): boolean {
return this._notificationServiceEnabled; return this._annotationServiceEnabled;
} }
private _inAppNotificationsCountInterval: number; private _inAppNotificationsCountInterval: number;