mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-04-06 17:10:29 +08:00
fix: Remove visibility from 'Steam Rcon Protocol' when Instance is tagged with 'Minecraft'
This commit is contained in:
parent
3195753e0e
commit
086a831cd2
@ -19,7 +19,7 @@ import { LayoutCardHeight } from "../../config/originLayoutConfig";
|
||||
import { useAppStateStore } from "@/stores/useAppStateStore";
|
||||
import { useAppRouters } from "@/hooks/useAppRouters";
|
||||
import { useLayoutCardTools } from "../../hooks/useCardTools";
|
||||
import { TYPE_MINECRAFT_JAVA, useInstanceInfo } from "@/hooks/useInstance";
|
||||
import { TYPE_MINECRAFT_JAVA, TYPE_STEAM_SERVER_UNIVERSAL, useInstanceInfo } from "@/hooks/useInstance";
|
||||
import TermConfig from "./dialogs/TermConfig.vue";
|
||||
import EventConfig from "./dialogs/EventConfig.vue";
|
||||
import PingConfig from "./dialogs/PingConfig.vue";
|
||||
@ -118,7 +118,8 @@ const btns = computed(() => {
|
||||
icon: BuildOutlined,
|
||||
click: () => {
|
||||
rconSettingsDialog.value?.openDialog();
|
||||
}
|
||||
},
|
||||
condition: () => instanceInfo.value?.config.type.includes(TYPE_STEAM_SERVER_UNIVERSAL) ?? false
|
||||
},
|
||||
{
|
||||
title: t("TXT_CODE_d23631cb"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user