fix: eslint + prettier
This commit is contained in:
@ -106,7 +106,6 @@ const currentDescriptions = ref<SectionCell[]>([]);
|
||||
const editedDescriptions = ref<SectionCell[]>([]);
|
||||
const isEditing = ref<boolean[]>([]);
|
||||
|
||||
// Fonctions
|
||||
const startEditing = (index: number) => {
|
||||
isEditing.value[index] = true;
|
||||
};
|
||||
@ -178,7 +177,6 @@ const handleFetchError = (error: unknown) => {
|
||||
isEditing.value = [false];
|
||||
};
|
||||
|
||||
|
||||
const fetchData = async (
|
||||
projectId: number,
|
||||
title: number,
|
||||
@ -287,10 +285,8 @@ const mockFetch = async (
|
||||
],
|
||||
};
|
||||
|
||||
// On extrait les descriptions pour la section demandée
|
||||
const section = leanCanvasData[title] || ["Aucune donnée disponible."];
|
||||
|
||||
// On crée des instances de SectionCell
|
||||
const result = section.map(
|
||||
(txt, index) =>
|
||||
new SectionCell({
|
||||
@ -347,7 +343,7 @@ onMounted(() => {
|
||||
|
||||
.tooltip-explain {
|
||||
position: absolute;
|
||||
bottom: 101%; /* au-dessus de la carte */
|
||||
bottom: 101%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background-color: #333;
|
||||
|
Reference in New Issue
Block a user