feat(stacks): remove the ability to delete external swarm stacks [EE-2611] (#7560)
parent
326a8abdc7
commit
602e42739e
|
@ -37,7 +37,7 @@ angular.module('portainer.app').controller('StacksDatatableController', [
|
||||||
* Do not allow external items
|
* Do not allow external items
|
||||||
*/
|
*/
|
||||||
this.allowSelection = function (item) {
|
this.allowSelection = function (item) {
|
||||||
if (item.External && item.Type === 2) {
|
if (item.External) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue