From f359c438fc231a63642c97f0b9d971fd212a7893 Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 15 May 2024 18:40:26 +0800 Subject: [PATCH] add some --- base/web/matrix.go | 2 +- base/web/store.go | 3 +-- base/web/store.js | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/web/matrix.go b/base/web/matrix.go index f46a3341..617f9373 100644 --- a/base/web/matrix.go +++ b/base/web/matrix.go @@ -155,7 +155,7 @@ func init() { } return value }) - m.Action(html.FILTER, mdb.CREATE, UPGRADE).StatusTimeCountStats(mdb.TYPE, mdb.STATUS).Display("") + m.Action(mdb.CREATE, UPGRADE).StatusTimeCountStats(mdb.TYPE, mdb.STATUS).Display("") m.Sort("type,status,name,domain", []string{MYSELF, SERVER, ORIGIN, WORKER, ""}, []string{cli.START, cli.STOP, ""}, ice.STR_R, ice.STR_R) ctx.Toolkit(m) return nil diff --git a/base/web/store.go b/base/web/store.go index 827352c4..74d84854 100644 --- a/base/web/store.go +++ b/base/web/store.go @@ -10,7 +10,6 @@ import ( "shylinux.com/x/icebergs/base/mdb" "shylinux.com/x/icebergs/base/nfs" "shylinux.com/x/icebergs/base/tcp" - "shylinux.com/x/icebergs/base/web/html" kit "shylinux.com/x/toolkits" ) @@ -63,7 +62,7 @@ func init() { if ice.Info.NodeType == WORKER || !aaa.IsTechOrRoot(m) { m.Action() } else { - m.PushAction(mdb.REMOVE).Action(html.FILTER, mdb.CREATE) + m.PushAction(mdb.REMOVE).Action(mdb.CREATE) } } else { defer ToastProcess(m, ice.LIST, arg[0])() diff --git a/base/web/store.js b/base/web/store.js index 66444f2f..3588d0e2 100644 --- a/base/web/store.js +++ b/base/web/store.js @@ -7,6 +7,7 @@ Volcanos(chat.ONIMPORT, { }, null, can.ui.project); select = (value.name == current? _target: select)||_target }), select && select.click(), can.onmotion.orderShow(can, can.ui.project) can.onappend.style(can, "output card", can.ui.content), can.onmotion.delay(can, function() { can.onimport.layout(can) }) + can.onmotion.delay(can, function() { can.onappend._filter(can) }) }, _content: function(can, msg, dev, target) { var list = [] can.onimport.card(can, msg, null, function(value) {