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…
Reference in New Issue