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;
entityIds: Guid[];
entityTypes: string[];
anchors: string[];
}

View File

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

View File

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