upgraded code

This commit is contained in:
Saifeddine ALOUI 2023-08-27 21:11:06 +02:00
parent 1bd6fc9e55
commit c1203d96f5
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

2
web/dist/index.html vendored
View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-8e0404da.js"></script> <script type="module" crossorigin src="/assets/index-c4c09da1.js"></script>
<link rel="stylesheet" href="/assets/index-3da7a963.css"> <link rel="stylesheet" href="/assets/index-3da7a963.css">
</head> </head>
<body> <body>

View File

@ -109,7 +109,10 @@ export default {
{name:this.isMounted?"unmount":"mount", icon: "feather:settings", is_file:false, value:this.toggleMounted}, {name:this.isMounted?"unmount":"mount", icon: "feather:settings", is_file:false, value:this.toggleMounted},
{name:"reinstall", icon: "feather:terminal", is_file:false, value:this.toggleReinstall}, {name:"reinstall", icon: "feather:terminal", is_file:false, value:this.toggleReinstall},
]; ];
if(this.selected){ if(this.isMounted){
main_menu.push({name:"remount", icon: "feather:refresh-ccw", is_file:false, value:this.reMount})
}
if(this.selected && this.has_scripts){
main_menu.push({name:"settings", icon: "feather:settings", is_file:false, value:this.toggleSettings}) main_menu.push({name:"settings", icon: "feather:settings", is_file:false, value:this.toggleSettings})
} }
return main_menu return main_menu