fix: fixing the eslint stuff

This commit is contained in:
2025-04-21 17:38:14 +02:00
parent 8b863ee4b1
commit a0eeb6715e
7 changed files with 187 additions and 32 deletions

View File

@ -56,10 +56,10 @@ const props = defineProps<{
title: number;
titleText: string;
description: string;
is_admin: number;
isAdmin: number;
}>();
const IS_ADMIN = props.is_admin;
const IS_ADMIN = props.isAdmin;
const expanded = ref(false);
const currentDescriptions = ref<string[]>([]);

View File

@ -125,7 +125,7 @@ const contactSingle = (email: string) => {
});
};
/*
const copyToClipboard = (email: string) => {
navigator.clipboard.writeText(email).then(() => {
alert(`Adresse copiée : ${email}`);
@ -133,6 +133,7 @@ const copyToClipboard = (email: string) => {
console.error("Erreur lors de la copie :", err);
});
};
*/
onMounted(() => fetchEntrepreneurs(props.projectId, IS_MOCK_MODE));
</script>

View File

@ -4,11 +4,11 @@
v-for="(item, index) in items"
:key="index"
:title="item.title"
:titleText="item.title_text"
:title-text="item.title_text"
:description="item.description"
:project-id="item.projectId"
:class="['canvas-item', item.class, 'card', 'shadow', 'p-3']"
:is_admin=is_admin
:is-admin= props.isAdmin
/>
</div>
</template>
@ -18,7 +18,7 @@ import { ref, onMounted } from "vue";
import CanvasItem from "@/components/canvas/CanvasItem.vue";
const props = defineProps<{
is_admin: number;
isAdmin: number;
}>();
const items = ref([