mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
Restore defaults and behaviour with pick entity on PickEntity.vue
This commit is contained in:
@@ -124,9 +124,10 @@ function loadDynamicPicker(element) {
|
||||
removeEntity({ entity }) {
|
||||
if (
|
||||
-1 ===
|
||||
this.suggested.findIndex(
|
||||
(e) => e.type === entity.type && e.id === entity.id,
|
||||
)
|
||||
this.suggested.findIndex(
|
||||
(e) => e.type === entity.type && e.id === entity.id,
|
||||
) &&
|
||||
"me" !== entity
|
||||
) {
|
||||
this.suggested.push(entity);
|
||||
}
|
||||
|
Reference in New Issue
Block a user