Prevent adding the same group to an app multiple times
This commit is contained in:
parent
8f524ce2c0
commit
080ba48adf
|
@ -39,9 +39,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$: filteredGroups = $groups.filter(element => {
|
$: filteredGroups = $groups.filter(group => {
|
||||||
return !element.apps.find(y => {
|
return !group.apps.find(appId => {
|
||||||
return y.appId === app.appId
|
return appId === app.appId
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue