mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-30 00:58:50 +00:00
fixed some issues
This commit is contained in:
parent
534dade401
commit
12b3b3ff76
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-9f6c9d5f.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-60e8ccd9.css">
|
||||
<script type="module" crossorigin src="/assets/index-cdd3bd9d.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-4c87e570.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -16,7 +16,12 @@
|
||||
</RouterLink>
|
||||
<!-- GITHUB AND THEME BUTTONS -->
|
||||
<div class="flex gap-3 flex-1 items-center justify-end">
|
||||
<div title="Connection status" :class="['dot', { 'dot-green': isConnected, 'dot-red': !isConnected }]"></div>
|
||||
<div v-if="isConnected" title="Connection status" class="text-green-500">
|
||||
<i data-feather="zap"></i>
|
||||
</div>
|
||||
<div v-if="!isConnected" title="Connection status" class="text-red-500">
|
||||
<i data-feather="zap-off"></i>
|
||||
</div>
|
||||
<a href="https://github.com/ParisNeo/lollms-webui" target="_blank">
|
||||
|
||||
<div class="text-2xl hover:text-primary duration-150" title="Visit repository page">
|
||||
|
@ -316,7 +316,8 @@ export const store = createStore({
|
||||
if(v!=undefined){
|
||||
index = v.findIndex(x => x.name == customModel);
|
||||
if(index!=-1){
|
||||
console.log("Found")
|
||||
index=j
|
||||
console.log(`Found ${customModel} at index ${index}`)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2335,6 +2335,7 @@ export default {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
if (this.isLoading) {
|
||||
this.$refs.toast.showToast("Loading... please wait", 4, false)
|
||||
return
|
||||
}
|
||||
if (model_object) {
|
||||
if (model_object.isInstalled) {
|
||||
|
Loading…
Reference in New Issue
Block a user