mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-16 15:08:54 +00:00
synced
This commit is contained in:
parent
7fd8b4fb23
commit
9f76dd5784
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-763520f3.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-0f099a96.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-9e4f0eb6.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -85,6 +85,7 @@ export default {
|
||||
axios.post('/get_skills_library_titles', { client_id: this.$store.state.client_id })
|
||||
.then(response => {
|
||||
this.titles = response.data.titles;
|
||||
console.log("titles recovered")
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching titles:', error);
|
||||
@ -115,11 +116,19 @@ export default {
|
||||
},
|
||||
deleteSkill(id){
|
||||
console.log("Delete skill ",id)
|
||||
axios.post("/delete_skill",{"client_id":this.$store.state.client_id,"skill_id":id})
|
||||
axios.post("/delete_skill",{"client_id":this.$store.state.client_id,"skill_id":id}).then(
|
||||
()=>{
|
||||
this.fetchTitles();
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
editTitle(id){
|
||||
axios.post("/edit_skill_title",{"client_id":this.$store.state.client_id,"skill_id":id,"title":id})
|
||||
axios.post("/edit_skill_title",{"client_id":this.$store.state.client_id,"skill_id":id,"title":id}).then(
|
||||
()=>{
|
||||
this.fetchTitles();
|
||||
}
|
||||
)
|
||||
console.log("Edit title")
|
||||
},
|
||||
makeTitle(id){
|
||||
|
Loading…
x
Reference in New Issue
Block a user