From cfd8c583444b735805098ce99b28bcf22628c8ac Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Tue, 7 Jan 2020 21:39:42 +0100 Subject: [PATCH] Repository teams - disable remove button when have access to all --- templates/repo/settings/collaboration.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index c0b444dce3da5..f6234f94a0074 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -79,9 +79,8 @@ {{end}} {{if $allowedToChangeTeams}} - {{ $globalRepoAccess := (eq .LowerName "owners") }} -
-