renamed and some stuff

This commit is contained in:
AndzejsP
2023-06-17 16:55:45 +03:00
parent 0970456793
commit ad2229ccd7
3 changed files with 71 additions and 72 deletions

View File

@ -89,7 +89,7 @@
<!-- CHAT BOX --> <!-- CHAT BOX -->
<div class="flex flex-row flex-grow items-center gap-2 "> <div class="flex flex-row flex-grow items-center gap-2 ">
<!-- <div class="w-24"> <!-- <div class="w-24">
<MountedPersonalitiesComponent /> <MountedPersonalities />
</div> --> </div> -->
@ -166,15 +166,15 @@
position: absolute; position: absolute;
} }
</style> </style>
<script setup> <!-- <script setup>
import MountedPersonalitiesComponent from './MountedPersonalitiesComponent.vue' import MountedPersonalitiesComponent from './MountedPersonalitiesComponent.vue'
</script> </script> -->
<script> <script>
import { nextTick, TransitionGroup } from 'vue' import { nextTick, TransitionGroup } from 'vue'
import feather from 'feather-icons' import feather from 'feather-icons'
import filesize from '../plugins/filesize' import filesize from '../plugins/filesize'
import MountedPersonalities from './MountedPersonalities.vue'
export default { export default {
name: 'ChatBox', name: 'ChatBox',
emits: ["messageSentEvent", "stopGenerating"], emits: ["messageSentEvent", "stopGenerating"],
@ -183,9 +183,9 @@ export default {
loading: false loading: false
}, },
// components: { components: {
// //MountedPersonalitiesComponent MountedPersonalities
// }, },
setup() { setup() {

View File

@ -1,5 +1,4 @@
<template> <template>
<!-- LIST OF MOUNTED PERSONALITIES --> <!-- LIST OF MOUNTED PERSONALITIES -->
<div <div
class=" text-base font-semibold cursor-pointer select-none items-center flex flex-row overflow-visible overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"> class=" text-base font-semibold cursor-pointer select-none items-center flex flex-row overflow-visible overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary">
@ -36,7 +35,6 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script>
@ -46,7 +44,7 @@ import defaultPersonalityImgPlaceholder from "../assets/logo.svg"
const bUrl = import.meta.env.VITE_GPT4ALL_API_BASEURL const bUrl = import.meta.env.VITE_GPT4ALL_API_BASEURL
axios.defaults.baseURL = import.meta.env.VITE_GPT4ALL_API_BASEURL axios.defaults.baseURL = import.meta.env.VITE_GPT4ALL_API_BASEURL
export default { export default {
name: 'MountedPersonalitiesComponent', name: 'MountedPersonalities',
setup() { setup() {

View File

@ -198,6 +198,7 @@
<Toast ref="toast"> <Toast ref="toast">
</Toast> </Toast>
</template> </template>
@ -1196,7 +1197,7 @@ export default {
}, },
mounted(){ mounted(){
//console.log('chatbox mnt',this.$refs) console.log('chatbox mnt',this.$refs)
}, },
async activated() { async activated() {