mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-13 08:48:38 +01:00
fix
This commit is contained in:
@@ -241,8 +241,6 @@ const legendClasses = ref<string[]>([
|
||||
])
|
||||
|
||||
|
||||
const inLiveDemo = isLiveDemo();
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -254,7 +252,7 @@ const inLiveDemo = isLiveDemo();
|
||||
</template>
|
||||
|
||||
<div class="flex gap-6 w-full justify-between">
|
||||
<LyxUiButton type="secondary" :to="inLiveDemo ? '#' : '/analyst'" :disabled="inLiveDemo">
|
||||
<LyxUiButton type="secondary" :to="isLiveDemo ? '#' : '/analyst'" :disabled="isLiveDemo">
|
||||
<div class="flex items-center gap-2 px-10">
|
||||
<i class="far fa-sparkles text-yellow-400"></i>
|
||||
<div class="poppins text-lyx-text"> Ask AI </div>
|
||||
|
||||
@@ -99,7 +99,7 @@ function transformResponse(input: CustomEventsAggregated[]) {
|
||||
}
|
||||
|
||||
const eventsData = useFetch(`/api/data/events`, {
|
||||
method: 'POST', headers: useComputedHeaders({ limit: 6 }), lazy: true, immediate: false, transform: transformResponse
|
||||
headers: useComputedHeaders({ limit: 6 }), lazy: true, immediate: false, transform: transformResponse
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user