mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-06 15:14:29 +08:00
Revert "fix: set TensorRT LLM menu visibility (#10693)"
This reverts commit 79d9d9dfc2.
This commit is contained in:
parent
12e1a6a855
commit
dd70be51b3
1 changed files with 0 additions and 9 deletions
|
|
@ -8,9 +8,6 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useGlobalStore } from '@/composables/useGlobalStore';
|
||||
const { isFxplay } = useGlobalStore();
|
||||
|
||||
const buttons = [
|
||||
{
|
||||
label: 'Ollama',
|
||||
|
|
@ -21,10 +18,4 @@ const buttons = [
|
|||
path: '/ai/model/tensorrt',
|
||||
},
|
||||
];
|
||||
|
||||
onMounted(() => {
|
||||
if (!isFxplay.value) {
|
||||
buttons.splice(1, 1);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue