Skip to content
Snippets Groups Projects
Commit 7a36036f authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

refactor: remove aptic

parent 4228081f
No related branches found
No related tags found
2 merge requests!525V2.3.0,!492Resolve "[API APTIC] - A supprimer"
......@@ -10,7 +10,7 @@ export class Category {
Object.assign(this, obj, {
modules:
obj && obj.modules
? obj.modules.map((module: Module) => new Module(module.id, module.name, module.displayText, module.apticIds))
? obj.modules.map((module: Module) => new Module(module.id, module.name, module.displayText))
: null,
});
}
......
......@@ -2,12 +2,10 @@ export class Module {
id: string;
name: string;
displayText?: string;
apticIds?: string[];
constructor(id: string, name: string, displayText?: string, apticIds?: string[]) {
constructor(id: string, name: string, displayText?: string) {
this.id = id;
this.name = name;
this.displayText = displayText || name;
this.apticIds = apticIds;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment