mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-10 16:08:05 +08:00
perf: change the function buttons for database nodes to be persistent
This commit is contained in:
parent
e2a371ed14
commit
77541ed371
@ -529,7 +529,7 @@ const getValueMenu = () => {
|
||||
|
||||
// render menu function icon
|
||||
const renderSuffix = ({ option }) => {
|
||||
if (includes(selectedKeys.value, option.key)) {
|
||||
if ((option.type === ConnectionType.RedisDB && option.opened) || includes(selectedKeys.value, option.key)) {
|
||||
switch (option.type) {
|
||||
case ConnectionType.RedisDB:
|
||||
return renderIconMenu(getDatabaseMenu(option.opened))
|
||||
|
Loading…
x
Reference in New Issue
Block a user