Small fixes

This commit is contained in:
AndzejsP 2023-05-26 13:03:18 +03:00
parent e1ccf30499
commit c1ee00bde2
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="absolute bottom-16 right-2 z-20 flex flex-col gap-3">
<div class="absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]">
<TransitionGroup name="toastItem" tag="div">
<div v-for=" t in toastArr" :key="t.id">
<div id="toast-success"

View File

@ -533,7 +533,7 @@ export default {
// if (model_object.isInstalled) {
this.settingsChanged = true
const res = this.update_setting('personality', pers.personality.name, () => {
this.$refs.toast.showToast("Personality:\n" + pers.personality.name + "\nselected", 4, true)
this.$refs.toast.showToast("Selected personality:\n" + pers.personality.name , 4, true)
this.configFile.personality = pers.personality.name
this.configFile.personality_category = pers.personality.category
this.configFile.personality_language = pers.personality.language
@ -566,7 +566,7 @@ export default {
if (this.configFile.model != model_object.title) {
this.update_model(model_object.title)
this.configFile.model = model_object.title
this.$refs.toast.showToast("Model:\n" + model_object.title + "\nselected", 4, true)
this.$refs.toast.showToast("Selected model:\n" + model_object.title , 4, true)
this.settingsChanged = true
this.isModelSelected = true
}