mirror of
https://shylinux.com/x/community
synced 2025-07-01 13:14:44 +08:00
add some
This commit is contained in:
parent
e1daa01a1d
commit
760050a8fe
@ -36,7 +36,9 @@ func (s profile) List(m *ice.Message, arg ...string) {
|
||||
s.Select(m, model.UID, arg[0]).Action()
|
||||
name := m.Append(model.NAME)
|
||||
button := []ice.Any{}
|
||||
button = append(button, s.Enter)
|
||||
if AuthType(kit.Int(m.Append(model.AUTH_TYPE))) == AuthService {
|
||||
button = append(button, s.Enter)
|
||||
}
|
||||
kit.If(s.IsWorker(m), func() { button = append(button, s.Modify) })
|
||||
switch AuthType(kit.Int(m.Append(model.AUTH_TYPE))) {
|
||||
case AuthService:
|
||||
|
Loading…
x
Reference in New Issue
Block a user