Add authentication and validation to delete-interest API, refactor modal list item

- Add x-tag header authentication check to delete-interest endpoint
- Add ID validation and improved error handling with proper typing
- Refactor InterestDetailsModal v-select item template structure
This commit is contained in:
2025-06-05 14:56:05 +02:00
parent ef091d7b29
commit 94c5e3f140
2 changed files with 27 additions and 11 deletions

View File

@@ -389,15 +389,18 @@
<template v-slot:item="{ item, props }">
<v-list-item
v-bind="props"
:title="item.value"
>
<template v-slot:prepend>
<v-icon :color="getSalesLevelColor(item.value)">
mdi-circle
</v-icon>
</template>
<v-list-item-title :style="{ color: getSalesLevelColor(item.value) }">
{{ item.value }}
</v-list-item-title>
<template v-slot:title>
<span :style="{ color: getSalesLevelColor(item.value) }">
{{ item.value }}
</span>
</template>
</v-list-item>
</template>
</v-select>