fix: fixing the eslint stuff
This commit is contained in:
@ -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[]>([]);
|
||||
|
@ -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>
|
||||
|
@ -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([
|
||||
|
Reference in New Issue
Block a user