mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix(org,team): guard the owner team rename, show permission-only team access and tidy member lookups
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
10 files changed
+124
-12
No files matched your search
@@ -83,6 +83,10 @@ func writeTable[T any](a *application, cmd *cobra.Command, items []T, spec listS
|
||||
}
|
||||
d := a.display()
|
||||
if len(items) == 0 {
|
||||
// A filtered page can be empty while later pages are not.
|
||||
if page.More {
|
||||
return a.morePagesHint(cmd, true, page.Number)
|
||||
}
|
||||
if !d.TTY || spec.Empty == "" {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user