Small fixes on annotation service client
This commit is contained in:
parent
90bcc40dde
commit
141d6346fb
|
@ -25,4 +25,5 @@ export interface AnnotationFilter {
|
||||||
isActive: IsActive;
|
isActive: IsActive;
|
||||||
entityIds: Guid[];
|
entityIds: Guid[];
|
||||||
entityTypes: string[];
|
entityTypes: string[];
|
||||||
|
anchors: string[];
|
||||||
}
|
}
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue