last minute fix

This commit is contained in:
AndzejsP 2023-06-23 17:55:35 +03:00
parent a85ea36954
commit b2ac608108
2 changed files with 18 additions and 9 deletions

View File

@ -52,14 +52,19 @@
{{ personality.author }}
</div>
<!-- <div class="">
<b>Language:&nbsp;</b>
{{ personality.language }}
</div>
<div class="">
<b>Category:&nbsp;</b>
{{ personality.category }}
</div> -->
<div class="flex items-center">
<i data-feather="globe" class="w-5 m-1"></i>
<b>Language:&nbsp;</b>
{{ personality.language }}
</div>
<div class="flex items-center">
<i data-feather="bookmark" class="w-5 m-1"></i>
<b>Category:&nbsp;</b>
{{ personality.category }}
</div>
</div>
<div class="flex items-center">
<i data-feather="info" class="w-5 m-1"></i>

View File

@ -1319,8 +1319,12 @@ export default {
const progressListener = (response) => {
console.log("received something");
if (response.status && response.progress <= 100) {
console.log(`Progress = ${response.progress}`);
console.log(`Progress`,response);
model_object.progress = response.progress
model_object.speed = response.speed
model_object.total_size = response.total_size
model_object.downloaded_size = response.downloaded_size
model_object.start_time = response.start_time
model_object.installing = true
if (model_object.progress == 100) {
const index = this.models.findIndex((model) => model.path === path);