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