Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

618 layer upgrade UI bug #619

Merged
merged 11 commits into from
Feb 25, 2024
8 changes: 7 additions & 1 deletion nav-app/src/app/classes/stix/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Domain {
revoked_by: new Map<string, string>(),
// technique targets asset
// ID of asset to [] of technique IDs
targeted_assets: new Map<string, string>(),
targeted_assets: new Map<string, string[]>(),
};

constructor(domain_identifier: string, name: string, version: Version, urls?: string[]) {
Expand All @@ -90,4 +90,10 @@ export class Domain {
public getVersion(): string {
return this.version.number;
}

public executeCallbacks(): void {
for (let callback of this.dataLoadedCallbacks) {
callback();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import * as globals from '../utils/globals';
})
export class LayerInformationComponent {
public get layerFormatLink(): string {
return `../layers/LAYERFORMATv${globals.layerVersion.replace('.', '_')}.md`;
return `./layers/LAYERFORMATv${globals.layerVersion.replace('.', '_')}.md`;
}
}
Loading