From dabdc6e11e4c7178d45e987dc8e4a8bff7072130 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 15 Mar 2024 10:33:48 +0800 Subject: [PATCH] add some --- base/web/dream.go | 2 +- base/web/matrix.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/web/dream.go b/base/web/dream.go index 1c815b49..49d77767 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -473,7 +473,7 @@ func init() { }, StatsAction(), DreamAction(), DreamTablesAction(), mdb.ImportantHashAction( mdb.SHORT, mdb.NAME, mdb.FIELD, "time,name,icons,repos,binary,template,restart,access", html.BUTTON, kit.JoinWord(PORTAL, DESKTOP, MESSAGE, ADMIN, WORD, STATUS, VIMER, COMPILE, XTERM, DREAM), - ctx.TOOLS, kit.Simple(SPIDE, ROUTE), ONLINE, ice.TRUE, + ctx.TOOLS, kit.Simple(SPIDE, ROUTE, STATUS), ONLINE, ice.TRUE, )), Hand: func(m *ice.Message, arg ...string) { if len(arg) == 0 { simple := m.Option(ice.DREAM_SIMPLE) == ice.TRUE diff --git a/base/web/matrix.go b/base/web/matrix.go index b0c0b470..a2ac395f 100644 --- a/base/web/matrix.go +++ b/base/web/matrix.go @@ -131,7 +131,7 @@ func init() { }}, }, ctx.ConfAction( mdb.FIELD, "time,domain,status,type,name,text,icons,repos,binary,module,version,access", - ctx.TOOLS, kit.Simple(SPIDE, STATUS, VERSION), ONLINE, ice.TRUE, + ctx.TOOLS, kit.Simple(SPIDE, VERSION, STATUS), ONLINE, ice.TRUE, )), Hand: func(m *ice.Message, arg ...string) { if kit.HasPrefixList(arg, ctx.ACTION) { _matrix_action(m, arg[1], arg[2:]...)