Skip to content
Snippets Groups Projects
Commit 35aa7a1c authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11775 TIME 0:10 reset all entities if hold shift

parent f20095ae
No related branches found
No related tags found
No related merge requests found
......@@ -198,23 +198,24 @@ export class FolderUpdateComponent implements OnInit {
selectEntity(newEntity: any) {
if (this.holdShift) {
$j('#jstree').jstree('deselect_all');
this.folder.sharing.entities = [];
}
if (!this.functions.empty(newEntity.keyword)) {
this.folder.sharing.entities.push(
{
keyword: newEntity.keyword,
edition: false
}
);
} else {
this.folder.sharing.entities.push(
{
entity_id: newEntity.serialId,
edition: false
}
);
if (!this.functions.empty(newEntity.keyword)) {
this.folder.sharing.entities.push(
{
keyword: newEntity.keyword,
edition: false
}
);
} else {
this.folder.sharing.entities.push(
{
entity_id: newEntity.serialId,
edition: false
}
);
}
}
}
......
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