mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(stacks): remove the ability to delete external swarm stacks [EE-2611] (#7560)
This commit is contained in:
parent
326a8abdc7
commit
602e42739e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ angular.module('portainer.app').controller('StacksDatatableController', [
|
|||
* Do not allow external items
|
||||
*/
|
||||
this.allowSelection = function (item) {
|
||||
if (item.External && item.Type === 2) {
|
||||
if (item.External) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue