mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 17:22:47 +00:00
fixed version visualization
This commit is contained in:
parent
dd774b36d5
commit
48826a2e31
File diff suppressed because one or more lines are too long
2
web/dist/index.html
vendored
2
web/dist/index.html
vendored
@ -6,7 +6,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-ddd37040.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-fb00cba7.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-20357d3b.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -195,7 +195,9 @@ export const store = createStore({
|
||||
try{
|
||||
let res = await axios.get('/get_lollms_webui_version', {});
|
||||
if (res) {
|
||||
this.state.version = res.data.version
|
||||
this.state.version = res.data
|
||||
console.log("version res:", res)
|
||||
console.log("version :", this.state.version)
|
||||
}
|
||||
|
||||
}
|
||||
@ -522,6 +524,17 @@ app.mixin({
|
||||
this.$store.state.api_get_req = api_get_req
|
||||
actionsExecuted = true;
|
||||
console.log("Calling")
|
||||
|
||||
try{
|
||||
this.$store.state.loading_infos = "Getting version"
|
||||
this.$store.state.loading_progress = 30
|
||||
await this.$store.dispatch('getVersion');
|
||||
}
|
||||
catch (ex){
|
||||
console.log("Error cought:", ex)
|
||||
}
|
||||
|
||||
|
||||
try{
|
||||
this.$store.state.loading_infos = "Loading Configuration"
|
||||
this.$store.state.loading_progress = 10
|
||||
@ -539,15 +552,6 @@ app.mixin({
|
||||
catch (ex){
|
||||
console.log("Error cought:", ex)
|
||||
}
|
||||
|
||||
try{
|
||||
this.$store.state.loading_infos = "Getting version"
|
||||
this.$store.state.loading_progress = 30
|
||||
await this.$store.dispatch('getVersion');
|
||||
}
|
||||
catch (ex){
|
||||
console.log("Error cought:", ex)
|
||||
}
|
||||
|
||||
try{
|
||||
this.$store.state.loading_infos = "Getting Bindings list"
|
||||
|
Loading…
x
Reference in New Issue
Block a user