From c181070f9e538e295134bf3a798dc45862810726 Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Wed, 8 Jan 2020 01:36:39 +0100 Subject: [PATCH] Repository teams - disable remove button when have access to all (#9640) Co-authored-by: zeripath --- 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 c0b444dce..f6234f94a 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -79,9 +79,8 @@ {{end}} {{if $allowedToChangeTeams}} - {{ $globalRepoAccess := (eq .LowerName "owners") }} -
-